Skip to content

Instantly share code, notes, and snippets.

https://github.com/puppetlabs/puppetlabs-vcsrepo/blob/master/examples/git/clone.pp
err: Could not retrieve catalog from remote server: Error 400 on SERVER: Duplicate declaration: Vcsrepo[/tmp/vcstest-git-clone] is already declared in file /etc/puppet/development/modules/mcollective/manifests/plugins/plugin.pp at line 49; cannot redeclare at /etc/puppet/development/modules/mcollective/manifests/plugins/plugin.pp:49 on node pfina04
[mco@moslexmcol-devel ~]$ mco rpc -v package status package=httpd
Discovering hosts using the redisdiscovery method .... 4
* [ ============================================================> ] 4 / 4
moslexmcol-devel.eng.net : wrong number of arguments (1 for 2)
wrong number of arguments (1 for 2)pfxtp04 : OK
{:properties=> {:version=>"2.2.15", :release=>"15.el6.centos.1", :epoch=>"0", :ensure=>"2.2.15-15.el6.centos.1", :name=>"httpd", :provider=>:yum, :arch=>"x86_64"}, :output=> {:version=>"2.2.15", :release=>"15.el6.centos.1", :epoch=>"0", :ensure=>"2.2.15-15.el6.centos.1", :name=>"httpd", :provider=>:yum, :arch=>"x86_64"}}
=> [#<Hashie::Mash __metadata=#<Hashie::Mash type="WebResult" uri="https://api.datamarket.azure.com/Data.ashx/Bing/Search/Web?Query='growth hacker'&$skip=0&$top=1"> description="The rise of the Growth Hacker The new job title of “Growth Hacker” is integrating itself into Silicon Valley’s culture, emphasizing that coding and technical ..." display_url="andrewchen.co/2012/04/27/how-to-be-a-growth-hacker-an-airbnbcraigs..." id="28e6bafd-d42c-4232-a4ce-cfcfd3bfc617" title="Growth Hacker is the new VP Marketing - @andrewchen" url="http://andrewchen.co/2012/04/27/how-to-be-a-growth-hacker-an-airbnbcraigslist-case-study/">]
puppet master --configprint modulepath; ls -lh $(puppet master --configprint modulepath); tree $(puppet master --configprint modulepath)/concat
/etc/puppetlabs/puppet/modules:/opt/puppet/share/puppet/modules
ls: cannot access /etc/puppetlabs/puppet/modules:/opt/puppet/share/puppet/modules: No such file or directory
/etc/puppetlabs/puppet/modules:/opt/puppet/share/puppet/modules/concat [error opening dir]
0 directories, 0 files