[Puppet Users] Could not back up /home/user/.ssh/authorized_keys: Could not find terminus file for indirection file_bucket_file

2019-06-11 Thread brian lamb
I have an event failure, one for each user. They use global facter variables for the keys, im not sure if thats relavant. *What is terminus, does that insinuate endpoint? **What is indirection, and file_bucket_file? *In my implementation of this, i havent seen those keywords yet, however its

Re: [Puppet Users] Re: apt/yum.downloads.puppetlabs.com CDN & rsync deprecation

2017-04-26 Thread Brian Long
that has been around for years. /Brian/ On Monday, April 24, 2017 at 2:19:22 PM UTC-4, Christopher Wood wrote: > > Not sure about the rest of you, but since I have no contract with Puppet > Inc. specifying the maintenance of rsync services I would shrug and move to > using apt-mirro

Re: [Puppet Users] puppetlabs-firewall rspec

2017-04-17 Thread brian mancuso
Thanks Trevor! That was exactly the kind of thing we were looking for. On Thursday, April 13, 2017 at 8:54:20 PM UTC-4, Trevor Vaughan wrote: > > Hi Brian, > > You can get ahold of the catalog directly by using the 'catalogue' object. > > See the following for an examp

[Puppet Users] puppetlabs-firewall rspec

2017-04-12 Thread brian mancuso
Hey guys, My group has been working on deploying puppet to existing servers and newer servers. During this time practices have naturally changed and we're trying to write tests to ensure that when we migrate from one way of writing firewall rules to another, we don't miss any. So here's some ba

[Puppet Users] Webinar on Choria.io and NATS

2017-04-03 Thread Brian Flannery
Hi all..for those of you using Puppet 4, you may find the webinar we are doing later in the month with R.I. Pienaar on Choria (simplifies install/config of MCollective) interesting. Just thought I'd share; you can RSVP here: http://nats.io/blog/webinar-how-choria-significa

[Puppet Users] Re: Announcing Puppet Enterprise 2016.2 + New Modules & Integrations

2016-06-13 Thread Brian Fekete
aw it was failing. I see that you've made changes recently and plan on checking out the module again. Thanks, Brian Fekete On Monday, June 13, 2016 at 4:11:17 PM UTC-4, Bryan Jen wrote: > > Hi Brian, > > The new websphere_application_server module builds upon the great start &

[Puppet Users] Re: Announcing Puppet Enterprise 2016.2 + New Modules & Integrations

2016-06-13 Thread Brian Fekete
Whats the difference between the old module and the new one? I see nothing different except that you changed the module name. Old one: https://forge.puppet.com/joshbeard/websphere New one: https://forge.puppet.com/puppetlabs/websphere_application_server Also the IBM installation manager which i

Re: [Puppet Users] Abridged summary of puppet-users@googlegroups.com - 18 updates in 7 topics

2015-07-24 Thread Brian Morris
Alternately, you can create a small definition for this requirement. I keep this in manifests/utils.pp: define regex_replace ( $match, $replace ) { exec { "ruby -i -p -e 'gsub(%r{$match}, \"$replace\")' $name": onlyif => "grep -E '$match' $name", logoutput => on_failure, } } You can use it from

[Puppet Users] Re: No certificates in /var/lib/puppet/ssl/ca/signed

2015-06-19 Thread Brian Morris
My signed certs are at /etc/puppet/ssl/ca/signed. Have you checked there? Brian On Tuesday, June 9, 2015 at 2:17:41 PM UTC-7, Alastair wrote: > > Hi everyone, > > I have noticed an unexpected change in the behaviour of my puppet > infrastructure that I can't explain. &

[Puppet Users] Re: Running classes in a certain order

2015-04-01 Thread Brian Morris
] -> File["site content"] -> Notify["IIS"] Brian -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to puppet-users+unsubscr...

[Puppet Users] Re: adding new users to /etc/sudoers

2015-04-01 Thread Brian Morris
Another thing to think on is adding a group to sudoers which covers your users needs, and then simply adding users to that group. By proxy, this also allows you to dump the users belonging to that group out to a facter for referencing and reporting. Brian On Monday, March 30, 2015 at 12:50

[Puppet Users] Re: Puppet as patch management

2015-03-12 Thread Brian Morris
quot; -o Dpkg::Options::=\"--force-confold\" -y --force-yes dist-upgrade", } exec { "apt_remove": command => "apt-get -y autoremove", } exec { "empty_mailbox": command => 'echo "" > /home/genericadmin/mbox', only

Re: [Puppet Users] exec resource applied on every run

2015-03-06 Thread Brian Mathis
Hi Tim, The exec type has some attributes that can control this, such as "onlyif", "unless", and "creates". Please review the documentation here: https://docs.puppetlabs.com/references/latest/type.html#exec ❧ Brian Mathis @orev On Fri, Mar 6, 2015 at 5:30

[Puppet Users] Geppetto 4.x download is broken

2015-02-27 Thread Brian Morris
When attempting to access *http://puppetlabs.github.io/geppetto/download.html* in any of 3 browsers on 2 platforms this error is generated: (In Chrome) This webpage has a redirect loop (In Firefox) The page isn't redirecting properly Additionally, the alternate link given on https://github

[Puppet Users] Re: Have Facter always return a result

2015-01-30 Thread Brian Morris
Thank you, Peter, twice over! That's a great Ruby shortcut that I dd not know existed. -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to puppet-users+unsubscr...@

[Puppet Users] Have Facter always return a result

2015-01-30 Thread Brian Morris
Hello all, I cannot seem to get Facter to always return a value. In this instance I am pulling the Java version from our systems, but would like there to be an entry that says "null" within the facts of systems that don't have any Java clients installed. Here is the basic facter that pulls the

[Puppet Users] puppet agent question

2015-01-10 Thread Brian Lock
If the puppet agent isn't running on a server and you issue the command sudo /etc/init.d/puppet stop, and you have also disables execute access on the file /etc/init.d/puppet by chmod -x , why does puppet run from the master at its pre-prescribed time? -- You received this message because yo

[Puppet Users] setting folders to different permissions

2014-12-18 Thread Brian Keating
Hi, I want to set /home dir to chmod 750 but all dirs included to 755. Anyone have a solution? Thanks, Brian. -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To unsubscribe from this group and stop receiving emails from it, send an

[Puppet Users] lock *nix user accounts with no password

2014-12-18 Thread Brian Keating
} #!/bin/bash # # Lock out active accounts with no password for NAME in `awk -F: '( $2 == "" ) { print $1 }' /etc/shadow`; do MyUID=`id -u $NAME` if [ $MyUID -gt 500 -a $NAME != 'root' ]; then usermod -L -s /dev/null $NAME fi done Thanks,

[Puppet Users] Best practice for notifying versus changing?

2014-12-03 Thread Brian Morris
Hello all, Due to some persnickety Windows developers I have been tasked with showing that Puppet can be used to alert when a known configuration has changed rather than correcting the change, and then notifying of the correction. I have tried wrapping my head around this, but it doesn't seem t

[Puppet Users] Re: PuppetServer Inconsistent Errors

2014-11-14 Thread Brian Wong
On Friday, November 14, 2014 2:05:08 PM UTC-5, Chris Price wrote: > > On Friday, November 14, 2014 8:52:55 AM UTC-8, Brian Wong wrote: >> >> I am currently using version 0.4.0 of PuppetServer using the official >> RPM package on CentOS 7. I am running into an issue where

[Puppet Users] PuppetServer Inconsistent Errors

2014-11-14 Thread Brian Wong
I am currently using version 0.4.0 of PuppetServer using the official RPM package on CentOS 7. I am running into an issue where a node's agent runs error out inconsistently. The node's agent run would sometimes successfully complete or give different errors upon other runs. Below are examples of

[Puppet Users] With Microsoft going all in .NET & Open Source (MIT license)

2014-11-13 Thread Brian Morris
I understand where your desire stems from, but IMHO the core problem with Puppet right now is that it's already fragmented too much. PE, P-FOSS, Ruby, C, Hiera, MCollective, environments or flat, Augeas, Powershell, Puppet Dashboard, Foreman, etc., and no clear vision for any of it. Adding .NET

[Puppet Users] Re: Adding then removing SW - best practices?

2014-10-27 Thread Brian Morris
p ^ii") > > "true" > > end > > end > > end > > ... and then, in a manifest, reference the facter to see if it is true: if ( $::apache_exists ) { > > do something, > > } > > Brian On Sunday, October 26, 2014 5:18:44 AM UTC-7, JonY wrote

[Puppet Users] Re: Puppet, inventory, and single sources of truth.

2014-10-27 Thread Brian Morris
\windows\currentversion\uninstall | ForEach-Object >> {Get-ItemProperty $_.pspath} | Where-Object {$_.DisplayName -eq \"Symantec >> Endpoint Protection\"} | ForEach-Object -process {$_.DisplayVersion } }" ' ) > > end > > end > > That one reports the version

[Puppet Users] puppet-common 2.7.26 depends facter (<< 2.0)

2014-10-20 Thread Brian Witt
y supported Facter versions are 2.x and 1.7. Both versions work with Puppet 3.x and 2.7." I've manually installed facter 2.2.0 (via dpkg) and it seems to work fine with puppet 2.7.26, so I'm confused by the dependency. Why is that there? Thanks, Brian -- You received th

[Puppet Users] EXEC resource fails but does not log a failure

2014-10-08 Thread Brian Morris
Hello Paul, I ran into this very issue recently. This happens because Powershell does not properly catch error events. If the PS engine is able to run the script engine while continuing on errors then it will exit with a code of 0. Even if your script utterly failed to run, if the PS engine doe

[Puppet Users] vmware-vcsa module !!!

2014-10-08 Thread Brian Morris
Hello Rakesh, Please post your code that this error comes from. -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to puppet-users+unsubscr...@googlegroups.com. To vi

Re: [Puppet Users] Error 500

2014-10-03 Thread Brian Morris
I was wrong, Jonathan. That error is actually somewhere in a manifest. You can troubleshoot it the same way, though. Just start commenting out sections of code in the order that your manifests are invoked in, until you find the culprit. -- You received this message because you are subscribed t

[Puppet Users] Error 500

2014-10-03 Thread Brian Morris
This is bombing on your facters. I would try commenting out successively more facters, from the bottom of each facter file, until you locate the source of the error. -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To unsubscribe from this grou

Re: [Puppet Users] Best way to deploy the Puppet client to a large set of Windows servers?

2014-10-02 Thread Brian Morris
ute as > well. It has an option (-c) to copy the the program to the remote system > before it executes, so that can serve to ensure the MSI is available on the > remote node. Note that psexec does create a windows service on the remote > server – so there’s a trace left behind you may

Re: [Puppet Users] Best way to deploy the Puppet client to a large set of Windows servers?

2014-10-02 Thread Brian Morris
Thank you, Rob. I have a lot of reading to do. :) On Thu, Oct 2, 2014 at 3:12 PM, Rob Reynolds wrote: > > > On Wed, Oct 1, 2014 at 3:30 PM, Brian Morris > wrote: > >> Hello all, >> >> There may come a need for me to perform a wide deployment of the Puppet &

[Puppet Users] Re: How do I install Websphere MQ using WS_MQ_SOL_ON_X86_64_7.5.0.2_IMG.tar files in a puppet master? or are there any available deb or rpm packages which puppet can recognize?

2014-10-01 Thread Brian Morris
ndling and installing of the packaged file all happens in one line. The hourly schedule insures that a client doesn't try to start this process again while another one is running, as the compile during installation can take a while. It also cleans up the installation files when done. I hope th

[Puppet Users] Best way to deploy the Puppet client to a large set of Windows servers?

2014-10-01 Thread Brian Morris
Hello all, There may come a need for me to perform a wide deployment of the Puppet client to Windows servers. I am curious to know how others have accomplished this. Concerns I have: - No other tools are in place that readily come to mind for pushing the client out. VCM is in play, but is dif

Re: [Puppet Users] Using Powershell in facters yields no data

2014-09-18 Thread Brian Morris
Thank you for that, Josh, as well as for creating the Powershell module for Puppet. I hope to meet both you and Rob at PuppetConf next week. On Thu, Sep 18, 2014 at 4:24 PM, Josh Cooper wrote: > > > On Thu, Sep 18, 2014 at 2:17 PM, Brian Morris > wrote: > >> Holy cow,

Re: [Puppet Users] Using Powershell in facters yields no data

2014-09-18 Thread Brian Morris
Sep 18, 2014 at 1:59 PM, Rob Reynolds wrote: > > > On Thu, Sep 18, 2014 at 3:54 PM, Rob Reynolds wrote: > >> >> >> On Thu, Sep 18, 2014 at 2:11 PM, Brian Morris >> wrote: >> >>> Hello all, >>> >>> I have been banging my head aga

[Puppet Users] Re: Using Powershell in facters yields no data

2014-09-18 Thread Brian Morris
I almost forgot. I have also tried setting the exec line up as a variable, and returning that variable, to no effect. -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To unsubscribe from this group and stop receiving emails from it, send an emai

[Puppet Users] Using Powershell in facters yields no data

2014-09-18 Thread Brian Morris
Hello all, I have been banging my head against this one for a couple of days. I am trying to use Powershell to comb the Windows registry for installed applications, such as VMware Tools, to create a custom facter. If I run this code from a PS prompt it works, and returns the expected data: PS

[Puppet Users] Re: client not seeing changes made on puppetmaster

2014-09-04 Thread Brian Wilkins
You might want to file a bug, as this was supposed to be fixed in Puppet 2.7 http://projects.puppetlabs.com/issues/5318 On Thursday, September 4, 2014 3:28:10 PM UTC-4, Mike Reed wrote: > > Greetings, > > I have a class for which I would like to simply print a few parameters > about a node, bef

Re: [Puppet Users] Re: Puppet 'node data' when using common node_names?

2014-09-02 Thread Brian Wilkins
Matt, There is a better way and that is to use the roles and profiles pattern. I use that and I have a custom facter ruby script that reads the fqdn from a yaml and assigns it's role. Puppet takes over from there. On Saturday, August 23, 2014 1:46:59 PM UTC-4, Matt W wrote: > > Will, > Thank

Re: [Puppet Users] puppet dead but pid file exists

2014-09-02 Thread Brian Wilkins
It probably died (either ps -ef | grep puppetmaster | awk '{print $2}' | xargs kill -9) or otherwise. Just remove the pid file and continue. You can examine the pid file to see if a process with that PID and named puppetmasterd exists. More than likely not. On Tuesday, September 2, 2014 10:56:5

Re: [Puppet Users] Using puppet with Apache mod_disk_cache and passenger over SSL

2014-09-02 Thread Brian Wilkins
I turned off high performance, but every request still hits the puppetmaster. Any more ideas? On Friday, August 29, 2014 5:57:30 PM UTC-4, Wil Cooley wrote: > > On Fri, Aug 29, 2014 at 9:50 AM, Brian Wilkins > wrote: > >> # RHEL/CentOS: >> # And the passenger per

[Puppet Users] Using puppet with Apache mod_disk_cache and passenger over SSL

2014-08-29 Thread Brian Wilkins
I have tried to setup Apache with passenger to host the puppetmaster but I also want to cache. I have no problems running puppet within Passenger with httpd. I also enabled mod_disk_cache within Apache. However, I still see my puppet client htting the puppetmaster and the puppetmaster compiles t

[Puppet Users] Re: Using yaml to create custom array fact

2014-08-28 Thread Brian Wilkins
I would actually put role higher than node simply because you will assign the common role parameters first and then node specific parameters last. This is how I do it in my hiera.yaml: --- :backends: - yaml :hierarchy: - common - "role/%{::system_role}" - node/%{::fqdn} - "%{environmen

Re: [Puppet Users] Challenge: who am i and what do i do

2014-08-28 Thread Brian Wilkins
We do the same thing as Ramin. Essentially have a custom role fact that is based on hostname. After initial "check-in" with the puppetmaster, the agent knows it role and is provisioned as such. We use the role/profile design pattern. On Wednesday, August 27, 2014 1:41:25 AM UTC-4, Ramin K wrote

[Puppet Users] Re: Report processor failed: wrong status line: ""

2014-08-28 Thread Brian Wilkins
tps = Net::HTTP.new(HOST, PORT) https.use_ssl = true https.verify_mode = OpenSSL::SSL::VERIFY_NONE https.start do |conn| conn.post "/reports/upload", "report=" + CGI.escape(self.to_yaml) end end end On Wednesday, August 27, 2014 5:17:07 PM UTC-4, Brian Wilkins wrote: &g

[Puppet Users] Report processor failed: wrong status line: ""

2014-08-27 Thread Brian Wilkins
I am seeing this issue every time puppet runs. I am using Puppet Dashboard. I have reports being delivered via https and my puppetmaster runs in Passenger. I see to have configured everything correctly and even copied over the proper ruby scripts to their directories to get https to work. Any i

Re: [Puppet Users] Unrecognised escape sequence '\[' in file

2014-08-27 Thread Brian Wilkins
> > Have you tried with two backslashes '\\' ? > Ah, that was it :) Also, but why not manage multiple files in /etc/nagios/nrpe.d/ based on > templates instead of managing a single file, since that's much trickier? > Oh, that is how I am doing it (sort of): class profiles::nagios_resource::

[Puppet Users] Unrecognised escape sequence '\[' in file

2014-08-27 Thread Brian Wilkins
I am having to escape a regular expression in my match and puppet complains on the puppetmaster of an "Unrecognised escape sequence". How do I fix this so the logs don't get cluttered with this message? I am using Puppet 3.6.2. file_line { "nagios_monitor_check_${title}": path => '/etc/na

Re: [Puppet Users] Encrypting /var/lib/puppet directory on clients

2014-08-20 Thread Brian Mathis
ely turned off, protecting it from an administrator on the VM host (though they would have full access to your system anyway), or from a SAN admin. ❧ Brian Mathis @orev On Wed, Aug 20, 2014 at 1:07 PM, Eugene Sapozhnikov wrote: > I have been given a project to secure our client hosts. &

Re: [Puppet Users] Globally ignore .svn

2014-08-07 Thread Brian Wilkins
Hmm, it's working now! Thanks On Thursday, August 7, 2014 6:11:41 PM UTC-4, Garrett Honeycutt wrote: > > On 8/7/14 9:10 AM, Brian Wilkins wrote: > > In Puppet 3.6.2, how do you globally ignore .svn directories? Links on > > the internet state to put File { ignore => &#

[Puppet Users] Globally ignore .svn

2014-08-07 Thread Brian Wilkins
In Puppet 3.6.2, how do you globally ignore .svn directories? Links on the internet state to put File { ignore => '.svn' } in site.pp but that does not work. I tried putting it in nodes.pp, but I receive the error: "Invalid parameter ignore on File[etc_facter_folder] at on node " -- You rec

[Puppet Users] Set ACLs on Files Logstash Must Monitor

2014-08-04 Thread Brian Wilkins
Rather than typing out hundreds of files that logstash has to monitor and put it into my profiles::logstash::acl class, how are others maintaining the actions to set the ACLs on files that logstash has to monitor? Right now, I am doing this for every file that logstash has to monitor: exec { 'a

Re: [Puppet Users] use client_data/catalog/.json for nagios check?

2014-07-30 Thread Brian Wilkins
We use this one : https://github.com/liquidat/nagios-icinga-checks/blob/master/check_puppetagent But you have to modify it if you are using an earlier version of Python for the date time code to get the difference. It's also good if you check the report file for errors. Rather than just the s

Re: [Puppet Users] Wrap Package in a define

2014-07-21 Thread Brian Wilkins
, 2014 5:53:01 AM UTC-4, David Schmitt wrote: > > > Hi Brian, > > On 2014-07-18 14:32, Brian Wilkins wrote: > > Hello, > > > > We are trying to use the puppet-forge graphite module located here: > > > https://github.com/echocat/puppet-graphite/blo

[Puppet Users] Wrap Package in a define

2014-07-18 Thread Brian Wilkins
Hello, We are trying to use the puppet-forge graphite module located here: https://github.com/echocat/puppet-graphite/blob/master/manifests/install.pp and our servers will not have access to the Internet. So we are downloading all the pip packages to a local repository and will point pip to eac

Re: [Puppet Users] multiple VMs from a single node.pp file

2014-07-15 Thread Brian Mathis
You'll have to sign the cert for each new node as a developer brings it online, unless you use the autosign option (which has potential security implications). After all, Puppet is meant to manage many nodes with the same configuration. ❧ Brian Mathis @orev On Tue, Jul 15, 2014 at 3:09 PM

Re: [Puppet Users] Stop and Start Services running on Puppet Master or Agent Machine

2014-06-26 Thread Brian Mathis
Your "source" line needs 3 slashes after "puppet:" source => "puppet:///$puppetserver/modules/httpd/ParserService-1.0.esb", ❧ Brian Mathis @orev On Thu, Jun 26, 2014 at 2:47 PM, Satish Katuru wrote: > Hi Brian Mathis, > > I tired to copy the ja

Re: [Puppet Users] Stop and Start Services running on Puppet Master or Agent Machine

2014-06-20 Thread Brian Mathis
setting up your software as a real service and then control it correctly with the "service" resource in Puppet. I strongly suggest you walk through the Puppet tutorials at https://puppetlabs.com/learn before trying to control your own custom applications with it. ❧ Brian Mathis @orev

Re: [Puppet Users] Is anyone using Puppet for RHEL Patch management ?

2014-06-12 Thread Brian Mathis
Package updates to RHEL systems do not touch config files if they have been changed, so it's rare that a simple update would cause any configuration to become invalid (of course, anything is possible). And you tested updates and their possible config changes before deployment, right? ❧

Re: [Puppet Users] Using Puppet to roll out Windows Updates

2014-06-11 Thread Brian Mathis
g. That's not to say that Puppet couldn't be abused into doing it. ❧ Brian Mathis @orev On Wed, Jun 11, 2014 at 12:35 PM, Pskov Shurik wrote: > Hello everyone, > > We have recently started using Puppet to do initial system prep on new > servers, such as Apache, Java in

[Puppet Users] Exception LoadErrror with Passenger and Apache httpd

2014-06-10 Thread Brian Wilkins
I have been running my puppetmaster with passenger and apache httpd successfully for sometime now. During a recent upgrade to Puppet 3.6.1, I am seeing this following exception in /var/log/httpd/error_log : *** Exception LoadError in PhusionPassenger::Rack::ApplicationSpawner (no such file to

Re: [Puppet Users] rspec - Unable to find class ::logstash

2014-06-04 Thread Brian Wilkins
Thanks Johan. It turns out that I had to set my path's explicitly in my spec_helper.rb. For some reason, the automatically created spec_helper.rb created by rspec-puppet-init did not create a usuable file. My tests are running successfully now. Brian On Wednesday, June 4, 2014 5:05:05 P

Re: [Puppet Users] rspec - Unable to find class ::logstash

2014-06-04 Thread Brian Wilkins
It is needed to disambiguate from profiles::logstash and just logstash classes. If I remove it, then it will complain that logstash is already loaded when it tries to load profiles::logstash. On Wednesday, June 4, 2014 3:52:01 PM UTC-4, Garrett Honeycutt wrote: > > On 6/4/14, 3:13 PM,

Re: [Puppet Users] rspec - Unable to find class ::logstash

2014-06-04 Thread Brian Wilkins
I think you missed the part where it is complaining about line 10 in my profiles::logstash::install module class { '::logstash': Removing ::logstash from the spec file has the same complaint. Brian On Wednesday, June 4, 2014 3:11:14 PM UTC-4, Garrett Honeycutt wrote: > > On

[Puppet Users] rspec - Unable to find class ::logstash

2014-06-04 Thread Brian Wilkins
I am trying to write unit tests of my puppet modules. In my profiles::logstash::install, I disambiguate the call to /etc/puppet/modules/logstash by using ::logstash in my class definition like so: class profiles::logstash::install() { $ensure = $profiles::logstash::enable ? {true => present,

Re: [Puppet Users] Using Hiera to Populate Defined Type in Puppet 3.6

2014-06-02 Thread Brian Wilkins
st,idx| host_string << "\"#{host}\""; host_string << "," if idx < @brokers.length-1 } host_string << "]" %> output { redis { host => <%= host_string %> data_type => "list" key => "logstash"

Re: [Puppet Users] params.pp/inheritance/defaults/hiera/hiera functions?

2014-06-01 Thread Brian Mathis
nd avoiding it makes it easier to work out where data comes > from. > > R. > Yes, this is what I mean. Don't use or access hiera from with *component* modules. You do need to use it from profile modules. This assumes that one is using the profile/roles pattern, which seems to be

Re: [Puppet Users] Re: Puppet 3.6.0... and scaling?

2014-05-31 Thread Brian Wilkins
What about staggering your runs? It seems trivial but at least it would reduce your load I think. -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to puppet-users+u

Re: [Puppet Users] Disamiguate Profiles::Logstash and Logstash

2014-05-31 Thread Brian Wilkins
class { '::logstash': status => $status, } } On Saturday, May 31, 2014 8:26:54 AM UTC-4, Robin Bowes wrote: > > Fully-qualify the class name, ie. use '::logstash'. > > R. > On 31 May 2014 13:17, "Brian Wilkins" > > wrote: > &

[Puppet Users] Re: Disamiguate Profiles::Logstash and Logstash

2014-05-31 Thread Brian Wilkins
ig': } ~> class{'profiles::logstash::service': } -> Class["profiles::logstash"] } On Saturday, May 31, 2014 8:17:34 AM UTC-4, Brian Wilkins wrote: > > I am using the puppet logstash module from Forge installed at > /etc/puppet/modules/logstash > > I am

[Puppet Users] Disamiguate Profiles::Logstash and Logstash

2014-05-31 Thread Brian Wilkins
I am using the puppet logstash module from Forge installed at /etc/puppet/modules/logstash I am trying to setup my profile class as profiles::logstash. My manifest is at /etc/puppet/modules/profiles/manifests/logstash.pp In my /etc/puppet/modules/profiles/manifests/logstash directory I have: i

Re: [Puppet Users] how to fork a Windows exe

2014-05-30 Thread Brian Mathis
term (i.e. services), it's meant to setup other things that control them. The Windows service framework is meant to do that. - Create a schedule task to run your command - Use the "start" command to start the process. ❧ Brian Mathis @orev On Fri, May 30, 2014 at 12:11 PM, Bill N wro

Re: [Puppet Users] params.pp/inheritance/defaults/hiera/hiera functions?

2014-05-30 Thread Brian Mathis
icitly configured, then you want it to fail if no parameter is given. ❧ Brian Mathis @orev On Thu, May 29, 2014 at 1:58 PM, Christopher Wood < christopher_w...@pobox.com> wrote: > (I'm not sure how to phrase my question precisely, so this may not all be > totally clear.) >

[Puppet Users] Puppet agent unable to pull files with puppetmaster setup in httpd with passenger

2014-05-30 Thread Brian Wilkins
I have my puppetmaster setup with httpd and mod_passenger. My agents can successfully pull manifests, but they are unable to pull files. As far as I can tell, I do not have any rewrite rules setup in my puppetmaster.conf (see below). In my httpd access log, I see that the agent tries to request

Re: [Puppet Users] Using Hiera to Populate Defined Type in Puppet 3.6

2014-05-29 Thread Brian Wilkins
.yaml: classes: - os::repo - profiles::logstash::shipper profiles::logstash::config_array: - inputfile profiles::logstash::config_settings: inputfile: content: 'this is a test' order: '10' On Thursday, May 29, 2014 2:37:31 PM UTC-4, Brian Wilkins wrote: > > Yep!

Re: [Puppet Users] Using Hiera to Populate Defined Type in Puppet 3.6

2014-05-29 Thread Brian Wilkins
_F wrote: > > Does it show up properly if you lookup on the server? > > > On Thu, May 29, 2014 at 12:09 PM, Brian Wilkins > > > wrote: > >> Hmm, that's not working either. Doesn't look like it is populating my >> define now. Hmm >> >>

Re: [Puppet Users] Using Hiera to Populate Defined Type in Puppet 3.6

2014-05-29 Thread Brian Wilkins
t_file: > content: 'this is a test' > order: '10' > > Add a notice line in your profiles::logstash::config type to: > notify("name is ${name}") > notify("content is ${content}") > notify("order is ${order}") > > &g

Re: [Puppet Users] Using Hiera to Populate Defined Type in Puppet 3.6

2014-05-29 Thread Brian Wilkins
Same problem. It seems like I am close. If only it didn't put all the data together as one string. On Thursday, May 29, 2014 1:17:07 PM UTC-4, Doug_F wrote: > > Maybe try your hiera command right inside your create_resources. > > > On Thu, May 29, 2014 at 11:13 AM, Brian W

Re: [Puppet Users] Using Hiera to Populate Defined Type in Puppet 3.6

2014-05-29 Thread Brian Wilkins
rver does it show up as a hash? > > > > On Thu, May 29, 2014 at 11:08 AM, Brian Wilkins > > > wrote: > >> Same problem. I see it concatenated in the notice. >> >> >> On Thursday, May 29, 2014 1:05:39 PM UTC-4, Doug_F wrote: >> >>> J

Re: [Puppet Users] Using Hiera to Populate Defined Type in Puppet 3.6

2014-05-29 Thread Brian Wilkins
fig', {}) > > > On Thu, May 29, 2014 at 11:01 AM, Brian Wilkins > > > wrote: > >> It prints out: >> >> order10contentthis is a test >> >> It concatenated it all together. >> >> >> >> On Thursday, May 29, 2014 12:59:09 PM

Re: [Puppet Users] Using Hiera to Populate Defined Type in Puppet 3.6

2014-05-29 Thread Brian Wilkins
It prints out: order10contentthis is a test It concatenated it all together. On Thursday, May 29, 2014 12:59:09 PM UTC-4, Doug_F wrote: > > Try setting your notice("${shipper_config}") before create resources and > see what it prints out. > > > On Thu, May 29, 201

Re: [Puppet Users] Using Hiera to Populate Defined Type in Puppet 3.6

2014-05-29 Thread Brian Wilkins
a test' > order: '10' > > Should probably be > profiles::logstash::config: >content: 'this is a test' >order: '10' > > > > On Thu, May 29, 2014 at 10:27 AM, Brian Wilkins > > > wrote: > >> I am try

[Puppet Users] Using Hiera to Populate Defined Type in Puppet 3.6

2014-05-29 Thread Brian Wilkins
I am trying to use hiera to populate a defined type to feed the puppet-logstash module. So far, I have been unable to send the data from my hiera file to my defined type. I have tested my defined type and it is working, I just can't seem to populate the variables. It tells me that $content and

Re: [Puppet Users] Re: Calculating network address - boolean opertors

2014-05-28 Thread Brian Mathis
ve host bits to get subnet by shifting wildcard bits off the end $subnet_decimal = ($ip_decimal >> $wild_card) << $wild_card ### Convert IP decimal format to dotted quad $quad1 = $subnet_decimal / 16777216 $remain1 = $subnet_decimal % 16777216 $quad2 = $remain1 / 655

Re: [Puppet Users] Re: validate_re() does not correctly match numbers in some cases

2014-05-21 Thread Brian Mathis
On Wed, May 21, 2014 at 4:29 AM, Felix Frank < felix.fr...@alumni.tu-berlin.de> wrote: > On 05/20/2014 07:16 PM, Brian Mathis wrote: > > This is a bug in validate_re(), even though there is a workaround. > > Arguably so. > > One could also argue, on the other hand, t

Re: [Puppet Users] Re: validate_re() does not correctly match numbers in some cases

2014-05-20 Thread Brian Mathis
On Tue, May 20, 2014 at 11:59 AM, jcbollinger wrote: > > > On Monday, May 19, 2014 6:45:56 PM UTC-5, Brian Mathis wrote: >> >> I'm seeing this issue with the current version of stdlib. When getting >> numeric data from hiera, or performing math on a variable, v

[Puppet Users] validate_re() does not correctly match numbers in some cases

2014-05-19 Thread Brian Mathis
ugly: validate_re( "X${var3}", 'X[0-9+]' ) Is anyone else seeing this issue? I have opened a ticket: https://tickets.puppetlabs.com/browse/MODULES-865 ❧ Brian Mathis @orev -- You received this message because you are subscribed to the Google Groups "Puppet

Re: [Puppet Users] Re: Calculating network address - boolean opertors

2014-05-19 Thread Brian Mathis
ain2 = $remain1 % 65536 $quad3 = $remain2 / 256 $quad4 = $remain2 % 256 $subnet = "${quad1}.${quad2}.${quad3}.${quad4}" Another possibility would be to calculate using ruby code and the inline_template() function. ❧ Brian Mathis @orev On Mon, May 19, 2014 at 3:22 AM, Mic

Re: [Puppet Users] "puppet apply --noop -e" and overiding facter values for testing

2014-05-06 Thread Brian Mathis
;value" will be returned. ❧ Brian Mathis On Tue, May 6, 2014 at 7:43 AM, Jakov Sosic wrote: > On 05/06/2014 12:29 AM, Brian Mathis wrote: > >> The problem is that your variable names are being returned from the >> $(cat...) after bash has already evaluated the environm

Re: [Puppet Users] "puppet apply --noop -e" and overiding facter values for testing

2014-05-05 Thread Brian Mathis
values | tr '\n' ' ' ) puppet apply --noop -e 'notice("${fqdn}")' Also, on modern versions of facter you can place facts in /etc/facter/facts.d and they will override the detected versions. ❧ Brian Mathis On Sat, May 3, 2014 at 7:41 AM, Peter wrote: > Hi Pu

Re: [Puppet Users] Puppet is not updating user passwords

2014-04-23 Thread Brian Mathis
se files. Check your package provider and/or gem to make sure you have it installed. ❧ Brian Mathis On Wed, Apr 23, 2014 at 5:27 PM, Mike R wrote: > I can't get puppet to update the password for any users that I declare, > this is my manifest: > > user {'test1'

Re: [Puppet Users] Re: facter-1.7.3 and puppet-3.3.1 on OS X Mavericks 10.9

2014-04-09 Thread Brian Auron
e: SSL_connect returned=1 errno=0 state=SSLv2/v3 read server hello A: (null) But `openssl s_client -connect puppetmaster.domain:8140` works just fine. There are no DNS alternative names and we only have one puppetmaster. Does anybody have an idea? Thanks! -Brian On Tuesday, February 11, 20

[Puppet Users] Re: My dynamic config-file environment broke in 3.5

2014-04-04 Thread Brian Pitts
Hi Eric, I'm glad you're taking this and the yumrepo issue (which also bit me) seriously. I've already downgraded to 3.4.3, but I'll try 3.5.1 as soon as it's available. On Friday, April 4, 2014 7:55:21 PM UTC-5, Eric Sorenson wrote: > > Hi Brian, thanks for the

[Puppet Users] My dynamic config-file environment broke in 3.5

2014-04-04 Thread Brian Pitts
Hi, After I upgraded my puppetmaster to 3.5, my clients can no longer find my modules. I had my modules broken up into three directories * modules: third-party modules I install via r10k * lib-modules: library/generic modules I wrote * app-modules: application/wrapper modules I wrote I expresse

Re: [Puppet Users] Workaround for user password hash

2014-02-06 Thread Brian Mathis
On Thu, Feb 6, 2014 at 5:12 AM, wrote: > On Wednesday, February 5, 2014 8:31:21 PM UTC+1, Brian Mathis wrote: > > >> There is nothing wrong with the sha1() function, it's just being used >> incorrectly. >> > > Just for the record, what would be the correct w

Re: [Puppet Users] Workaround for user password hash

2014-02-05 Thread Brian Mathis
ar more than just simple formatting. Passwords are stored using "crypt" functions, with the original one using DES, then we moved on to MD5 and SHA. The cryptographic portions (MD5, SHA1, etc...) are only PART of the algorithm, which also includes salting, multiple iterations, etc...

[Puppet Users] Fedora 20 Packages

2013-12-03 Thread Brian Pitts
Hi, Since the Fedora 20 final release is a week away, I was wondering if F20 packages for yum.puppetlabs.com are being worked on. All the best, Brian -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To unsubscribe from this grou

Re: [Puppet Users] User Management in LDAP/Kerberos (freeipa)

2013-11-14 Thread Brian Mathis
. You might use Puppet to create the table structure as part of the installation process, but not to revise the data itself. ❧ Brian Mathis On Thu, Nov 14, 2013 at 2:50 AM, William Leese wrote: > Hi, > > I'm faced with the question if we should be doing user management directly &

Re: [Puppet Users] Noob question about the ${name} variable

2013-09-25 Thread Brian Lalor
way it does, unless the braces around the variable name have special meaning. I would expect you'd get the literal braces in the expanded value. Not a real answer, but it does look unintentional. -- Brian Lalor bla...@bravo5.org http://github.com/blalor -- You received this message

  1   2   3   4   5   6   >