Sha256: f292975fecb441843fd7e453ba3d402f85f4c519d69e739ea2590786cc19fa56

Contents?: true

Size: 1.04 KB

Versions: 22

Compression:

Stored size: 1.04 KB

Contents

module PoolParty
  module Provision
    
    class Puppet
      def self.commands
        [
          "mkdir -p /etc/puppet/manifests/classes",
          "mkdir -p /var/puppet",
          "cp /var/poolparty/dr_configure/site.pp  /etc/puppet/manifests/site.pp",
          "ruby /var/poolparty/dr_configure/add_puppet_to_hosts",
          "cp /var/poolparty/dr_configure/puppet.conf /etc/puppet/",
          "cp /var/poolparty/dr_configure/site.pp /etc/puppet/manifests/",
          "cp /var/poolparty/dr_configure/poolparty.pp /etc/puppet/manifests/classes",
          "cp /var/poolparty/dr_configure/puppetrunner /usr/bin/",
          "/usr/bin/puppetrunner"
        ]
      end
      def self.files_to_upload
        [ "#{::File.dirname(__FILE__)}/../../templates/puppet/add_puppet_to_hosts",
          "#{::File.dirname(__FILE__)}/../../templates/puppet/puppet.conf",
          "#{::File.dirname(__FILE__)}/../../templates/puppet/puppetrunner",
          "#{::File.dirname(__FILE__)}/../../templates/puppet/site.pp" 
        ]
      end
    end
    
  end
end

Version data entries

22 entries across 22 versions & 3 rubygems

Version Path
auser-poolparty-1.1.1 lib/poolparty/provision/configurations/puppet.rb
auser-poolparty-1.1.3 lib/poolparty/provision/configurations/puppet.rb
auser-poolparty-1.1.4 lib/poolparty/provision/configurations/puppet.rb
auser-poolparty-1.1.5 lib/poolparty/provision/configurations/puppet.rb
auser-poolparty-1.1.6 lib/poolparty/provision/configurations/puppet.rb
auser-poolparty-1.1.7 lib/poolparty/provision/configurations/puppet.rb
auser-poolparty-1.2.0 lib/poolparty/provision/configurations/puppet.rb
auser-poolparty-1.2.1 lib/poolparty/provision/configurations/puppet.rb
auser-poolparty-1.2.10 lib/poolparty/provision/configurations/puppet.rb
auser-poolparty-1.2.11 lib/poolparty/provision/configurations/puppet.rb
auser-poolparty-1.2.12 lib/poolparty/provision/configurations/puppet.rb
auser-poolparty-1.2.2 lib/poolparty/provision/configurations/puppet.rb
auser-poolparty-1.2.3 lib/poolparty/provision/configurations/puppet.rb
auser-poolparty-1.2.4 lib/poolparty/provision/configurations/puppet.rb
auser-poolparty-1.2.7 lib/poolparty/provision/configurations/puppet.rb
auser-poolparty-1.2.8 lib/poolparty/provision/configurations/puppet.rb
auser-poolparty-1.2.9 lib/poolparty/provision/configurations/puppet.rb
fairchild-poolparty-1.1.3 lib/poolparty/provision/configurations/puppet.rb
fairchild-poolparty-1.1.4 lib/poolparty/provision/configurations/puppet.rb
fairchild-poolparty-1.1.5 lib/poolparty/provision/configurations/puppet.rb