[Puppet Users] mcollective modules for puppet4

2016-03-04 Thread zdehnert
Does anyone have any examples of how to install the mcollective modules in a puppet4 environment? The yum repos for pc1 do not have the mcollective modules in the repo's path. They are there, but to get them you need to navigate there with a browser and download them manually, and the rpm's do

[Puppet Users] Setting up Code Manager and running in to problem with r10k_api_user needing key and web hook failing test pushes

2016-03-04 Thread evan . hisey
As the title says this is dealing with Code Manager. First I followed the directions in the gitlab module to setup gitlab, and that much worked up to testing code pushes. At this point it was apparent the the r10k_api_user had a problem do to no ssh key, and that the web hook trigger is not wor

[Puppet Users] Re: Avoiding duplicate exported resource

2016-03-04 Thread 'Reinhard Vicinus' via Puppet Users
We use a wrapper resource to ensure that only one resource is created. It's not perfect, because you need an additional resource, but it works. Here is an example: Multiple nodes want to ensure that the following resource is created on a node: file { '/tmp/at_least_one_node_exists.txt': } so

Re: [Puppet Users] validate_bool() throwing in error syaing the value not a boolean

2016-03-04 Thread Henrik Lindberg
On 04/03/16 16:41, Sans wrote: I'm on v3.8.4 Can it be run from agent? If it does, then it gonna solve my another issue as well. Recent would be >= 4.2 wrt. lookup functionality. Sorry. - henrik -San On Thursday, March 3, 2016 at 6:10:33 PM UTC, Henrik Lindberg wrote: If you are on

[Puppet Users] Re: Usage of aws module from resource abstraction layer

2016-03-04 Thread Sergey Zemlyanoy
ignore it Fixed by invoking command with defined type which pass params into ec2_instance type. The last thing bothers me - I cannot make 'puppet apply -e' to lookup for params from hiera or even puppet classes, so need to pass all keys from cli which is inconvenient -- You received this m

Re: [Puppet Users] validate_bool() throwing in error syaing the value not a boolean

2016-03-04 Thread Sans
I'm on v3.8.4 Can it be run from agent? If it does, then it gonna solve my another issue as well. -San On Thursday, March 3, 2016 at 6:10:33 PM UTC, Henrik Lindberg wrote: > > > If you are on a newer puppet version where the lookup command is > available you can use 'puppet lookup --explain y

[Puppet Users] Re: Usage of aws module from resource abstraction layer

2016-03-04 Thread Sergey Zemlyanoy
Regarding advise to use 'puppet apply -e' Some odd issue with processing resource $title by erb template I call puppet apply -e "ec2_instance {"szemlyanoy-test-5": ensure => present, region => eu-west-1, image_id => ami-12249661, instance_type => 'm3.medium', key_name => 'CLI_Deploy', security

Re: [Puppet Users] Re: Usage of aws module from resource abstraction layer

2016-03-04 Thread Gareth Rushgrove
On 4 March 2016 at 10:55, Sergey Zemlyanoy wrote: > Thanks for reply, > > Will check that link. > Re defined type this is what I already was thinking about but I literally > can't call my new type from RAL command while it works perfectly for generic > puppet applies. From what I know only ruby ty

[Puppet Users] Re: Usage of aws module from resource abstraction layer

2016-03-04 Thread Sergey Zemlyanoy
Thanks for reply, Will check that link. Re defined type this is what I already was thinking about but I literally can't call my new type from RAL command while it works perfectly for generic puppet applies. From what I know only ruby types can be passed to 'puppet resource', am I right? Thnaks

Re: [Puppet Users] Usage of aws module from resource abstraction layer

2016-03-04 Thread Gareth Rushgrove
On 3 March 2016 at 20:12, Sergey Zemlyanoy wrote: > Hey folks, > > How you guys maintain your ec2 instances using aws module from command line? > I intend to rely on RAL or mco to be able to provision instances on demand, > without declaring them in puppet/hiera, but just take defaults from there.