bootstapping an angular.js app on top of rails

Complete example here – The following will skip jquery and turbolinks: rails new [your-app-name-here] –skip-javascript – But now you need to manually create the following file: app/assets/javascripts/application.js – And include the following in the file contents: //= require_tree . – put all your angular app files inside app/assets/javascripts, and include the following in your app/views/layouts/application.html.erb template: <%= javascript_include_tag […]

puppet: the basics

ensure specific packages are installed in a system, creating a puppet manifest file with the following (example): package { ‘vim’: ensure => ‘2:7.4.052-1ubuntu3′ } to run it (you may have to run it as sudo): puppet apply your_manifest_file.pp # To ensure the order of the packages that need to run require => Package[‘your-package-name-here’]