Sha256: c470dc7b69be5b47a9470e3a90a822adf8aacd7485ce0e06e421a6038572202a
Contents?: true
Size: 1.01 KB
Versions: 86
Compression:
Stored size: 1.01 KB
Contents
#!/usr/bin/env sprinkle -c -s # Example of the simplest Sprinkle script to install a single gem on a remote host. This # particular script assumes that rubygems (and ruby, etc) are already installed on the remote # host. To see a larger example of installing an entire ruby, rubygems, gem stack from source, # please see the rails example. # Packages, only sprinkle is defined in this world package :sprinkle do description 'Sprinkle Provisioning Tool' gem 'crafterm-sprinkle' do source 'http://gems.github.com' # use alternate gem server #repository '/opt/local/gems' # specify an alternate local gem repository end end # Policies, sprinkle policy requires only the sprinkle gem policy :sprinkle, :roles => :app do requires :sprinkle end # Deployment settings deployment do # use vlad for deployment delivery :vlad do role :app, 'yourhost.com' end end # End of script, given the above information, Spinkle will apply the defined policy on all roles using the # deployment settings specified.
Version data entries
86 entries across 86 versions & 13 rubygems