Skip to content

Instantly share code, notes, and snippets.

@jfryman
Created December 2, 2012 22:51
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save jfryman/29c9219997f0bcaab52d to your computer and use it in GitHub Desktop.
Save jfryman/29c9219997f0bcaab52d to your computer and use it in GitHub Desktop.
vagrant@test:~/puppet-master/modules/git/tests$ sudo !!
sudo puppet apply -vd --modulepath=../.. init.pp
info: Loading facts in /var/lib/puppet/lib/facter/gh_env.rb
info: Loading facts in /var/lib/puppet/lib/facter/datacenter.rb
info: Loading facts in /var/lib/puppet/lib/facter/vagrant.rb
info: Loading facts in /var/lib/puppet/lib/facter/powershell.rb
info: Loading facts in /var/lib/puppet/lib/facter/sysctlentropyexists.rb
info: Loading facts in /var/lib/puppet/lib/facter/is_using_filtergen.rb
info: Loading facts in /var/lib/puppet/lib/facter/gateway.rb
info: Loading facts in /var/lib/puppet/lib/facter/mysql_root_passwd.rb
info: Loading facts in /var/lib/puppet/lib/facter/nagios_plugins_path.rb
info: Loading facts in /var/lib/puppet/lib/facter/crm_version.rb
info: Loading facts in /var/lib/puppet/lib/facter/ec2.rb
info: Loading facts in /var/lib/puppet/lib/facter/rack.rb
info: Loading facts in /var/lib/puppet/lib/facter/is_active_lb.rb
info: Loading facts in /var/lib/puppet/lib/facter/macaddress_drac.rb
info: Loading facts in /var/lib/puppet/lib/facter/lldpd.rb
info: Loading facts in /var/lib/puppet/lib/facter/ha_cluster_dc.rb
info: Loading facts in /var/lib/puppet/lib/facter/bridge_interfaces.rb
info: Loading facts in /var/lib/puppet/lib/facter/is_active_memcache.rb
info: Loading facts in /var/lib/puppet/lib/facter/is_active_fs.rb
info: Loading facts in /var/lib/puppet/lib/facter/rackspace_location.rb
info: Loading facts in /var/lib/puppet/lib/facter/nagios_plugins_version.rb
info: Loading facts in /var/lib/puppet/lib/facter/puppet_lib_dir.rb
info: Loading facts in /var/lib/puppet/lib/facter/disttag.rb
debug: importing '/home/vagrant/puppet-master/modules/git/manifests/init.pp' in environment production
debug: Automatically imported git from git into production
debug: Exec[git config]: Adding default for path
debug: Puppet::Type::Package::ProviderFink: file /sw/bin/fink does not exist
debug: Puppet::Type::Package::ProviderOpenbsd: file pkg_info does not exist
debug: Puppet::Type::Package::ProviderPacman: file /usr/bin/pacman does not exist
debug: Puppet::Type::Package::ProviderUp2date: file /usr/sbin/up2date-nox does not exist
debug: Puppet::Type::Package::ProviderHpux: file /usr/sbin/swinstall does not exist
debug: Puppet::Type::Package::ProviderRug: file /usr/bin/rug does not exist
debug: Puppet::Type::Package::ProviderPorts: file /usr/sbin/pkg_info does not exist
debug: Puppet::Type::Package::ProviderNim: file /usr/sbin/nimclient does not exist
debug: Puppet::Type::Package::ProviderSunfreeware: file pkg-get does not exist
debug: Puppet::Type::Package::ProviderFreebsd: file /usr/sbin/pkg_info does not exist
debug: Puppet::Type::Package::ProviderPortupgrade: file /usr/sbin/pkg_info does not exist
debug: Puppet::Type::Package::ProviderSun: file /usr/bin/pkginfo does not exist
debug: Puppet::Type::Package::ProviderZypper: file /usr/bin/zypper does not exist
debug: Puppet::Type::Package::ProviderUrpmi: file rpm does not exist
debug: Puppet::Type::Package::ProviderRpm: file rpm does not exist
debug: Puppet::Type::Package::ProviderPkg: file /usr/bin/pkg does not exist
debug: Puppet::Type::Package::ProviderAptrpm: file rpm does not exist
debug: Puppet::Type::Package::ProviderAix: file /usr/bin/lslpp does not exist
debug: Puppet::Type::Package::ProviderPortage: file /usr/bin/emerge does not exist
debug: Puppet::Type::Package::ProviderYum: file rpm does not exist
debug: Creating default schedules
debug: Failed to load library 'selinux' for feature 'selinux'
debug: Failed to load library 'shadow' for feature 'libshadow'
debug: Puppet::Type::User::ProviderLdap: true value when expecting false
debug: Puppet::Type::User::ProviderDirectoryservice: file /usr/bin/dscl does not exist
debug: Puppet::Type::User::ProviderPw: file pw does not exist
debug: Puppet::Type::User::ProviderUser_role_add: file roleadd does not exist
debug: Failed to load library 'ldap' for feature 'ldap'
debug: /File[/var/lib/puppet/state/last_run_report.yaml]: Autorequiring File[/var/lib/puppet/state]
debug: /File[/var/lib/puppet/lib]: Autorequiring File[/var/lib/puppet]
debug: /File[/var/lib/puppet/log]: Autorequiring File[/var/lib/puppet]
debug: /File[/var/lib/puppet/run]: Autorequiring File[/var/lib/puppet]
debug: /File[/etc/puppet/ssl/certs/test.github.com.pem]: Autorequiring File[/etc/puppet/ssl/certs]
debug: /File[/etc/puppet/ssl/certs]: Autorequiring File[/etc/puppet/ssl]
debug: /File[/var/lib/puppet/state/state.yaml]: Autorequiring File[/var/lib/puppet/state]
debug: /File[/etc/puppet/ssl/private]: Autorequiring File[/etc/puppet/ssl]
debug: /File[/var/lib/puppet/state/classes.txt]: Autorequiring File[/var/lib/puppet/state]
debug: /File[/var/lib/puppet/state]: Autorequiring File[/var/lib/puppet]
debug: /File[/var/lib/puppet/client_data]: Autorequiring File[/var/lib/puppet]
debug: /File[/etc/puppet/ssl/public_keys/test.github.com.pem]: Autorequiring File[/etc/puppet/ssl/public_keys]
debug: /File[/var/lib/puppet/state/graphs]: Autorequiring File[/var/lib/puppet/state]
debug: /File[/etc/puppet/ssl/certs/ca.pem]: Autorequiring File[/etc/puppet/ssl/certs]
debug: /File[/var/lib/puppet/client_yaml]: Autorequiring File[/var/lib/puppet]
debug: /File[/etc/puppet/ssl/crl.pem]: Autorequiring File[/etc/puppet/ssl]
debug: /File[/var/lib/puppet/clientbucket]: Autorequiring File[/var/lib/puppet]
debug: /File[/var/lib/puppet/facts]: Autorequiring File[/var/lib/puppet]
debug: /File[/etc/puppet/ssl/private_keys/test.github.com.pem]: Autorequiring File[/etc/puppet/ssl/private_keys]
debug: /File[/etc/puppet/ssl/certificate_requests]: Autorequiring File[/etc/puppet/ssl]
debug: /File[/etc/puppet/ssl/private_keys]: Autorequiring File[/etc/puppet/ssl]
debug: /File[/var/lib/puppet/state/resources.txt]: Autorequiring File[/var/lib/puppet/state]
debug: /File[/etc/puppet/ssl]: Autorequiring File[/etc/puppet]
debug: /File[/var/lib/puppet/state/last_run_summary.yaml]: Autorequiring File[/var/lib/puppet/state]
debug: /File[/etc/puppet/ssl/public_keys]: Autorequiring File[/etc/puppet/ssl]
debug: /File[/etc/puppet/ssl/private_keys/test.github.com.pem]/mode: mode changed '0640' to '0600'
debug: /File[/var/lib/puppet/state/classes.txt]/mode: mode changed '0644' to '0640'
debug: /File[/var/lib/puppet/state/resources.txt]/mode: mode changed '0644' to '0640'
debug: /File[/var/lib/puppet/state/graphs]/ensure: created
debug: /File[/etc/puppet/ssl/public_keys/test.github.com.pem]/mode: mode changed '0640' to '0644'
debug: /File[/var/lib/puppet/state/state.yaml]/mode: mode changed '0640' to '0660'
debug: /File[/etc/puppet/ssl/certs/test.github.com.pem]/mode: mode changed '0640' to '0644'
debug: Finishing transaction 69897333781820
debug: Loaded state in 0.00 seconds
debug: Loaded state in 0.00 seconds
info: Applying configuration version '1354488628'
debug: /Schedule[daily]: Skipping device resources because running on a host
debug: /Schedule[monthly]: Skipping device resources because running on a host
debug: /Schedule[hourly]: Skipping device resources because running on a host
debug: /Schedule[never]: Skipping device resources because running on a host
debug: /Schedule[weekly]: Skipping device resources because running on a host
debug: /Schedule[puppet]: Skipping device resources because running on a host
debug: Prefetching apt resources for package
debug: Executing '/usr/bin/dpkg-query -W --showformat '${Status} ${Package} ${Version}\n''
debug: Puppet::Type::Package::ProviderApt: Executing '/usr/bin/dpkg-query -W --showformat '${Status} ${Package} ${Version}\n''
debug: Puppet::Type::Package::ProviderApt: Executing '/usr/bin/dpkg-query -W --showformat ${Status} ${Package} ${Version}\n git'
debug: Puppet::Type::Package::ProviderApt: Executing '/usr/bin/apt-get -q -y -o DPkg::Options::=--force-confold install git'
notice: /Stage[main]/Git/Package[git]/ensure: ensure changed 'purged' to 'latest'
debug: /Stage[main]/Git/Package[git]: The container Class[Git] will propagate my refresh event
debug: Exec[git config](provider=posix): Executing 'git config --global user.name arafatm;git config --global user.email git@arafatm.com'
debug: Executing 'git config --global user.name arafatm;git config --global user.email git@arafatm.com'
notice: /Stage[main]/Git/Exec[git config]/returns: executed successfully
debug: /Stage[main]/Git/Exec[git config]: The container Class[Git] will propagate my refresh event
debug: Class[Git]: The container Stage[main] will propagate my refresh event
debug: Finishing transaction 69897332763160
debug: Storing state
debug: Stored state in 0.03 seconds
notice: Finished catalog run in 8.84 seconds
debug: Finishing transaction 69897333209960
debug: Received report to process from test.github.com
debug: Processing report from test.github.com with processor Puppet::Reports::Store
vagrant@test:~/puppet-master/modules/git/tests$ sudo su -
root@test:~# git Cc^C
root@test:~# cat /root/.gitconfig
[user]
name = arafatm
email = git@arafatm.com
root@test:~#
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment