[Puppet Users] vey urgent can any one use the below code to create hash para meters to create rsources very urgent urgenrt

2016-10-27 Thread kevin
if is_hash($config_settings) { $config_settings_real = merge($config_settings_default, $config_settings) create_resources(::postfix::config, $config_settings_real) } if is_hash($transport_settings) { postfix::hash { "/etc/postfix/transport": ensure => present } create_resourc

[Puppet Users] can anyone change these to the to use the hash para meters to create resources urgent

2016-10-27 Thread kevin
if is_hash($config_settings) { $config_settings_real = merge($config_settings_default, $config_settings) create_resources(::postfix::config, $config_settings_real) } if is_hash($transport_settings) { postfix::hash { "/etc/postfix/transport": ensure => present } create_resourc

[Puppet Users] Re: Prevent certificate collisions due to servers going up and down with same hostname

2016-10-27 Thread Eric Sorenson
Hi Iván - I think there are a couple of approaches that could work for you. 1 - you could continue to provision as you do today, but include a step in the shut-down that cleans a certificate. It is possible to add a rule to the auth.conf file that permits access to puppet's HTTPS endpoints which

[Puppet Users] Puppet agent install question?

2016-10-27 Thread Jason McMahan
I have been thinking about this for a time and really feel this should be an easy question, hoping I am just over thinking. If I would like to automate the install of puppet agent on a windows server am I required to provide puppet_server and puppet_ca_server? I thought msiexec /qn /norestart /

[Puppet Users] Announce: PuppetDB 4.2.4 is now available!

2016-10-27 Thread Wyatt Alt
PuppetDB 4.2.4 - October 27, 2016 PuppetDB 4.2.4 Downloads Available in native package format as part of Puppet Collection 1 (PC1). More information on the PC1 repositories is available here: http://bit.ly/1HQJDNb Binary tarball: http://downloads.puppetlabs.com/puppetdb

Re: [Puppet Users] Re: Role vs hiera

2016-10-27 Thread Ugo Bellavance
On Thursday, October 27, 2016 at 11:45:06 AM UTC-4, Thomas Müller wrote: > > > > Am 27.10.2016 um 15:43 schrieb Ugo Bellavance: > > That looks great, thanks! > > > > However, I just realized that my server roles are somewhat related to > > the server names. For example, I could call my webse

Re: [Puppet Users] Re: Role vs hiera

2016-10-27 Thread Thomas Mueller
Am 27.10.2016 um 15:43 schrieb Ugo Bellavance: > That looks great, thanks! > > However, I just realized that my server roles are somewhat related to > the server names. For example, I could call my webservers something > like www1, www2, www3. If all those 3 servers have the same config, > is t

Re: [Puppet Users] Re: Role vs hiera

2016-10-27 Thread Rob Nelson
I do exactly that with a custom fact called `puppet_role`, which is listed in my hierarchy as `- "puppet_role/%{puppet_role}'​"`. See https://github.com/puppetinabox/controlrepo/blob/production/dist/profile/lib/facter/puppet_role.rb, feel free to copy that if it helps. -- You received this messag

[Puppet Users] Re: Role vs hiera

2016-10-27 Thread Ugo Bellavance
That looks great, thanks! However, I just realized that my server roles are somewhat related to the server names. For example, I could call my webservers something like www1, www2, www3. If all those 3 servers have the same config, is there a way to create a file that would apply to all of th

Re: [Puppet Users] "Error: Could not request certificate: Error 500 on SERVER" after updating certificate

2016-10-27 Thread Lowe Schmidt
And you requested a new one? -- Lowe Schmidt | +46 723 867 157 On 27 October 2016 at 08:04, wrote: > Yes > > On Wednesday, October 26, 2016 at 10:23:59 AM UTC+3, Lowe Schmidt wrote: >> >> So you did remove the SSL certificate on the _agent_ as well? >> -- >> Lowe Schmidt | +46 723 867 157 >> >>

[Puppet Users] Re: Role vs hiera

2016-10-27 Thread Thomas Müller
Am Dienstag, 18. Oktober 2016 20:34:25 UTC+2 schrieb Ugo Bellavance: > > Hi, > > I've seen tutorials where they add the role as a fact in an client and > then can use the role for hiera data. Is there a better way to do so (ie > without having to configure anything on the client)? > you could