Re: [Puppet Users] exec not executing

2016-02-22 Thread Tim Dunphy
e,". In order to work, you > need to use something like this after you includes: > > Class['bacula::config'] ~> > Class['bacula::exec'] > > If you want your exec to run after configuration changes. > > Or remove the refreshonly parameter if you want it to run alw

[Puppet Users] override values in puppet account creation

2016-01-23 Thread Tim Dunphy
Hey guys, I've got a puppet module that creates user accounts on linux machines. I'm trying to override a couple settings in my config for the user's shell and home directory. And I'm getting this error: Error: Could not retrieve catalog from remote server: Error 400 on SERVER: Invalid

Re: [Puppet Users] require two different types

2015-12-23 Thread Tim Dunphy
Hi Garrett, That's great. And that explanation makes perfect sense! I understand this a little better now. And using the example you provided works. Thanks, Tim On Wed, Dec 23, 2015 at 5:52 PM, Garrett Honeycutt <g...@garretthoneycutt.com> wrote: > On 12/23/15 4:14 PM, Tim Dun

[Puppet Users] require two different types

2015-12-23 Thread Tim Dunphy
Hello, How can I require two different types in my manifests? For instance I have this setup in one of my modules: file { "/etc/pki/tls/private/${::hostname}.example.com.key": owner => "bacula", group => "bacula", mode => 0400, require =>

Re: [Puppet Users] file absent in config manifest fails

2015-10-16 Thread Tim Dunphy
.schm...@puppetlabs.com > wrote: > > > On 15/10/2015 04:55, Tim Dunphy wrote: > > If you specify 'ensure => absent' then you should not have a 'content' >> line. They are contradictory parameters. (Also, but unrelated, the path >> parameter is duplicative since specifyi

Re: [Puppet Users] file absent in config manifest fails

2015-10-14 Thread Tim Dunphy
: > Tim, > > On Oct 14, 2015, at 10:14 PM, Tim Dunphy <bluethu...@gmail.com> wrote: > > Hey guys, > > On puppet server 3.8.2 here. And I have a file definition that I want to > set as 'absent'. For example, this is what I have: > > file { '/etc/newre

[Puppet Users] file absent in config manifest fails

2015-10-14 Thread Tim Dunphy
Hey guys, On puppet server 3.8.2 here. And I have a file definition that I want to set as 'absent'. For example, this is what I have: file { '/etc/newrelic/newrelic.cfg': ensure => absent, path=> '/etc/newrelic/newrelic.cfg', content => template('newrelic/newrelic.cfg.erb'),

[Puppet Users] mysql service class does not start stopped service

2015-09-29 Thread Tim Dunphy
Hey puppeters, Got a question about a service class for a mysql module that I wrote. I've seen that this class: class mysql::service { if $osfamily == "RedHat" and $operatingsystemmajrelease == 7 { service {"mysql": ensure => running, hasstatus => true,

Re: [Puppet Users] automating mysql my.cnf with puppet

2015-09-19 Thread Tim Dunphy
Hey all, Ok, sorry if I didn't get to all of your suggestions. But I did elect to try this one: server-id=<%= @hostname.match(/db([0-9]+)/); $1 %> Which I modified slightly to: server-id=<%= @hostname.match(/db([0-4]+)/); $1 %> Because I only run 4 mysql servers atm. And BOOM! That does it

[Puppet Users] automating mysql my.cnf with puppet

2015-09-15 Thread Tim Dunphy
Hey guys, Is there any other way to automate this setting in my.cnf: server-id=1 So that if the host is db1 it'll get a value of 1, for db2 a value of 2, for db3 a value of 3 and db4 a value of 4? The only way I can think of this is to have branching logic in the puppet manifest that does a

Re: [Puppet Users] Net::ReadTimeout errors

2015-07-18 Thread Tim Dunphy
17, 2015 at 9:58 PM, Felix Frank felix.fr...@alumni.tu-berlin.de wrote: On 07/18/2015 03:20 AM, Tim Dunphy wrote: Hey Felix, thanks, but those aren't the important ones I'm afraid. There should be a vhost to bind port 8140. If there is not, please check carefully which process is actually

Re: [Puppet Users] Net::ReadTimeout errors

2015-07-17 Thread Tim Dunphy
wrote: Hi, I'm not very familiar with the puppet/foreman stack, so this might be a silly question, but how is the master set up? Is it running through Apache/Passenger? In that case, can we see the Apache vhost configuration? Thanks, Felix On 07/15/2015 05:12 AM, Tim Dunphy wrote: Hey

Re: [Puppet Users] Net::ReadTimeout errors

2015-07-17 Thread Tim Dunphy
Frank felix.fr...@alumni.tu-berlin.de wrote: On 07/17/2015 10:37 PM, Tim Dunphy wrote: Hi Felix, Thanks for getting back to me! And yes, you are correct. Puppet/Foreman is running through apache/passenger. And here's the vhost configurations. There's two of them, one for ssl

[Puppet Users] Net::ReadTimeout errors

2015-07-14 Thread Tim Dunphy
Hey all, I'm running puppet version 3.7.5 with foreman 1.7.4. Everything was going well with this setup for quite a long time. Many months at least it ran without even so much as a hiccup! Until recently when I started adding more nodes I've found this issue I'm having occurring every couple of

Re: [Puppet Users] permission denied on files

2015-06-19 Thread Tim Dunphy
#= passenger_t == allow passenger_t nfs_t:file open; But how do I turn this into an selinux command that allows this to work? thanks! Tim On Wed, Jun 17, 2015 at 8:50 AM, Tim Dunphy bluethu...@gmail.com wrote: mydomain.com - jokefire.com Is this copy-n-paste or does

Re: [Puppet Users] permission denied on files

2015-06-17 Thread Tim Dunphy
2015, at 04:20, Tim Dunphy bluethu...@gmail.com wrote: Hi all, I've setup a puppet module to install and keep the bacula backup system running on a number of systems. Part of the formula I've come up with is to transfer an SSL cert/key pair to each host that uses the module. So

[Puppet Users] permission denied on files

2015-06-16 Thread Tim Dunphy
Hi all, I've setup a puppet module to install and keep the bacula backup system running on a number of systems. Part of the formula I've come up with is to transfer an SSL cert/key pair to each host that uses the module. So that bacula can work over TLS. I have this defined in my bacula

[Puppet Users] using vhost templates definitions in puppet

2015-06-09 Thread Tim Dunphy
Hey all, I have a few different templates that I'd like to use to generate some apache configurations using definitions. I have a standard vhost template that works quite well! However that's the only one that works. Anytime I try to specify one of the other template definitions I get an

Re: [Puppet Users] Re: nodes set to environment 'none'

2015-03-31 Thread Tim Dunphy
Hey guys, Yeah, that's correct. I'm using the Foreman in my setup. I actually did a reinstall of the foreman and that got rid of this issue. So I'm sorry if that's not very informative. But that's how I solved it. Thanks, Tim Sent from my iPhone On Mar 31, 2015, at 9:19 PM, Felix Frank

[Puppet Users] Re: pupptboard Could not reach PuppetDB error

2015-03-21 Thread Tim Dunphy
at 9:27 PM, Tim Dunphy bluethu...@gmail.com wrote: Hey guys, I was able to find out the cause of the problem. I had SELinux enabled! Once I gave the 'setenforce 0' command, puppetboard starts working and filling in with data. So, I've been googling around for a little while, and still

[Puppet Users] Re: pupptboard Could not reach PuppetDB error

2015-03-20 Thread Tim Dunphy
SELinux commands to make this error go away? [Fri Mar 20 20:47:49 2015] [error] ERROR:pypuppetdb.api:Could not reach PuppetDB on localhost:8080 over HTTP. Thanks! Tim On Fri, Mar 20, 2015 at 7:46 PM, Tim Dunphy bluethu...@gmail.com wrote: Hey all, I just had to setup puppetdb on a new host

[Puppet Users] pupptboard Could not reach PuppetDB error

2015-03-20 Thread Tim Dunphy
Hey all, I just had to setup puppetdb on a new host. And everything seemed to go smoothly using the python pip install method. But when I load up the page with the puppetbaord on it, I see an 'internal server error' message on the web page. Tailing the apache error log gives me this: [Fri Mar

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

2015-03-07 Thread Tim Dunphy
, 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 PM, Tim Dunphy bluethu...@gmail.com wrote: Hey all, I've created a very basic puppet module to install bacula

[Puppet Users] exec resource applied on every run

2015-03-06 Thread Tim Dunphy
Hey all, I've created a very basic puppet module to install bacula and ensure that it's running. However one exec statement in my manifest gets applied every time. Here's the manifest: class bacula::install { if $hostname == ops { file { /var/bacula: ensure = directory,

[Puppet Users] install hiera-puppet on centOS 6.6

2015-02-21 Thread Tim Dunphy
hey all, I've just tried installing the hiera-puppet package onto CentOS 6.6, and got this result: Transaction Check Error: file /usr/bin/extlookup2hiera from install of hiera-puppet-1.0.0-1.el6.noarch conflicts with file from package puppet-3.7.3-1.el6.noarch file

Re: [Puppet Users] install hiera-puppet on centOS 6.6

2015-02-21 Thread Tim Dunphy
they rolled hiera into it by default. “Sometimes I think the surest sign that intelligent life exists elsewhere in the universe is that none of it has tried to contact us.” (Bill Waterson: Calvin Hobbes) On Feb 21, 2015, at 01:28 PM, Tim Dunphy bluethu...@gmail.com wrote: hey all

Re: [Puppet Users] Re: puppet cron help

2015-02-04 Thread Tim Dunphy
You can also try this: https://groups.google.com/forum/#!topic/puppet-users/PZMv4hGpKiM Cool! Thank you, Keith! On Tue, Feb 3, 2015 at 7:34 PM, keith.sta...@gmail.com wrote: On Monday, February 2, 2015 at 5:55:58 PM UTC-5, bluethundr wrote: Hey all, I'm attempting to setup a cron job

[Puppet Users] puppet cron help

2015-02-02 Thread Tim Dunphy
Hey all, I'm attempting to setup a cron job via the cron resource in puppet. This is what I'm trying to express via puppet: */30 * * * * /usr/bin/facter -y /etc/mcollective/facts.yaml This is what I've tried: cron { facts-cron: command = /usr/bin/facter -y

[Puppet Users] user partitions fact in template

2015-02-02 Thread Tim Dunphy
Hey guys, I was thinking about turning my nrpe.cfg file into a template. So that I could customize lines like the following: command[check_root]=/usr/local/nagios/libexec/check_disk -w 20% -c 10% -p /dev/*vda* I would need to use just the name of the partition out of the following list:

Re: [Puppet Users] Re: puppet cron help

2015-02-02 Thread Tim Dunphy
Hey Joey Christian, Just like you would when manually adding a cronjob you should have '*/30', so your resource should look like this. cron { facts-cron: command = /usr/bin/facter -y /etc/mcollective/facts.yaml, user= 'root', hour= 0, minute = '*/30' } Hope this helps! Very

[Puppet Users] Re: nodes.pp file not recognized

2015-01-25 Thread Tim Dunphy
puppet.mydomain.com Warning: Not using cache on failed catalog Error: Could not retrieve catalog; skipping run I've found that just removing the file at that location or commenting out that line got everything working. Tim On Sat, Jan 24, 2015 at 6:25 PM, Tim Dunphy bluethu...@gmail.com wrote: Hey all

[Puppet Users] nodes.pp file not recognized

2015-01-24 Thread Tim Dunphy
Hey all, OK, so I just setup a new puppet server using the foreman installer package. Which gives you puppet 2.7.2 (I think). So the next thing I did was download the puppet labs yum repo (I'm on centos 6.5) and upgrade to version 3.3. And updated my config.ru to the new format. So far so good.

Re: [Puppet Users] Best way for sync folder with many files and subfolders via Puppet that changed rarely

2014-11-02 Thread Tim Dunphy
Hello, I've been able to use the recurse function of the File type successfully: file { /opt/solr: source = puppet:///modules/solr/solr-files, owner = tomcat, group = tomcat, *recurse = true* } The recurse option will sync an entire folder of files. Tim On

Re: [Puppet Users] Re: puppetboard unable to reach puppetb

2014-10-09 Thread Tim Dunphy
Hi Daniel, Thanks for getting back to me. This doesn't look like a configuration error with regard to Puppetboard but one with regard to Apache. These lines: configuration error: couldn't perform authentication. AuthType not set!: /static/js/lists.js, referer:

Re: [Puppet Users] Re: puppetboard unable to reach puppetb

2014-10-09 Thread Tim Dunphy
Hey Daniele, Thanks for your feedback! And especially your suggestion to forego SSL since I'm running puppetb and puppetboard on the same host. Anyway, here's my jetty.ini file from puppetdb: [root@puppet:/etc/puppetdb/conf.d] #cat jetty.ini | grep -v '#' [jetty] port = 8082 ssl-host =

Re: [Puppet Users] Re: puppetboard unable to reach puppetb

2014-10-09 Thread Tim Dunphy
, Spencer Krum krum.spen...@gmail.com wrote: Are you pushing reports into puppetdb or only into foreman? On Thu, Oct 9, 2014 at 12:29 PM, Tim Dunphy bluethu...@gmail.com wrote: Hey Daniele, Thanks for your feedback! And especially your suggestion to forego SSL since I'm running puppetb

Re: [Puppet Users] Re: puppetboard unable to reach puppetb

2014-10-09 Thread Tim Dunphy
Hi Ken, Its a comma, if you are unclear. Yep! I was able to get that by trying it out. But thanks for the feedback! Always extremely welcomed! [root@puppet:~] #cd /etc/puppet [root@puppet:/etc/puppet] #grep reports puppet.conf reports= foreman, puppetdb Try it again and restart

[Puppet Users] puppetboard unable to reach puppetb

2014-10-08 Thread Tim Dunphy
Hey all, I was able to setup puppetdb on my puppetmaster. I'm very happy I was able to get that done. And now that that's working I was hoping to get the puppetboard running. But here's where I'm at so far: http://puppetboard.jokefire.com/ I plan to put SSL and some basic auth on there once

Re: [Puppet Users] annoying allow_virtual parameter warning

2014-10-08 Thread Tim Dunphy
, 2014 at 8:09 PM, Kylo Ginsberg k...@puppetlabs.com wrote: On Tue, Oct 7, 2014 at 12:31 PM, Tim Dunphy bluethu...@gmail.com wrote: What's the 2.2 error? Also FYI we're doing zero testing with ruby 2.2 at this time. Hi Kaylo, The error that I'm getting is this one: err: Failed

Re: [Puppet Users] annoying allow_virtual parameter warning

2014-10-08 Thread Tim Dunphy
Hi Spencer, Oh I called it puppetboard unable to reach puppetb and sent it to the puppet users group. Any help there would be fantastic! Thanks! Tim On Wed, Oct 8, 2014 at 8:45 PM, Spencer Krum krum.spen...@gmail.com wrote: What puppetboard thread? On Oct 8, 2014 4:34 PM, Tim Dunphy

[Puppet Users] annoying allow_virtual parameter warning

2014-10-07 Thread Tim Dunphy
Hey guys, I kept getting this annoying warning in the output of my puppet runs: Warning: The package type's allow_virtual parameter will be changing its default value from false to true in a future release. If you do not want to allow virtual packages, please explicitly set allow_virtual to

Re: [Puppet Users] puppetdb has no tables

2014-10-06 Thread Tim Dunphy
hey ken, Thanks again for your help. I changed the password on a temporary basis to an absurdly simple one. I'm both happy to say that puppetdb is working now. And sad to have taken up your time with this. Sorry about that. But after changing to the absurdly simple password and then being

Re: [Puppet Users] puppetdb has no tables

2014-10-05 Thread Tim Dunphy
Hello and thanks for your reply. Actually I take back what I said about it working. I still have the config above in place. And I did complete a run successfully on the puppet server itself. But when I looked at all the clients (I'm using foreman) I saw the clients were failing runs. So I went

[Puppet Users] puppetdb has no tables

2014-10-04 Thread Tim Dunphy
Hey all, I've installed puppetdb on my puppetmaster. I have puppet-server-3.7.1, puppetdb-2.2 and puppetdb-terminus-2.2. I've setup puppetdb like this: [root@puppet:/etc/puppet] #cat /etc/puppetdb/conf.d/database.ini [database] classname = org.postgresql.Driver subprotocol = postgresql subname

Re: [Puppet Users] can't find node definition puppet 3.7.1

2014-09-30 Thread Tim Dunphy
I've always used import, not include to get my node definitions into site.pp. the new way of doing it, I believe, is to use a manifest directory. See https://docs.puppetlabs.com/puppet/latest/reference/lang_import.html Cool! Thanks I'll give that a try. I actually tried it before without

[Puppet Users] can't find node definition puppet 3.7.1

2014-09-27 Thread Tim Dunphy
Hello, When I tried adding a node to my puppet server running puppet 3.7.1 (on both server and the client) I'm getting an error stating that puppet can't find the node definition: Warning: Unable to fetch my node definition, but the agent run will continue: Warning: Error 400 on SERVER: Failed

[Puppet Users] pluginsync errors on client puppet 3.7

2014-09-20 Thread Tim Dunphy
Hey all, I'm getting some errors on my client when doing puppet runs that seem related to pluginsync: Error: /File[/var/lib/mydomain/facts.d]: Failed to generate additional resources using 'eval_generate': Error 400 on SERVER: Not authorized to call search on /file_metadata/pluginfacts with

[Puppet Users] Re: pluginsync errors on client puppet 3.7

2014-09-20 Thread Tim Dunphy
, Sep 20, 2014 at 11:08 AM, Tim Dunphy bluethu...@gmail.com wrote: Hey all, I'm getting some errors on my client when doing puppet runs that seem related to pluginsync: Error: /File[/var/lib/mydomain/facts.d]: Failed to generate additional resources using 'eval_generate': Error 400 on SERVER

[Puppet Users] nodes set to environment 'none'

2014-09-20 Thread Tim Dunphy
Hey all, For some reason my client nodes are being set to an environment called 'none'. This causes an error in puppet runs becuase the pupet server doesn't recognize an environment called 'none'. The environment I want them to use is called 'Production'. This is the error that I'm getting on

[Puppet Users] puppet is not reading my nodes manifest

2014-09-14 Thread Tim Dunphy
Hey all, I just setup puppet 3.7.0 and foreman 1.6.0 on a new host. And I just learned about the new syntax replacing the include directive. I found this example of how to do this in puppet enterprise: [main] environmentpath = $confdir/environments default_manifest = $confdir/manifests

[Puppet Users]

2014-07-25 Thread Tim Dunphy
Hey all, I'm getting an annoying warning whenever I run the puppet cert command: [root@puppet:/etc/puppet] #puppet cert list Warning: Sections other than main, master, agent, user are deprecated in puppet.conf. Please use the directory environments feature to specify environments. (See

Re: [Puppet Users]

2014-07-25 Thread Tim Dunphy
, agent, user are deprecated in puppet.conf. [production] [production] is not main, master, agent, or user On Jul 25, 2014, at 8:59 PM, Tim Dunphy bluethu...@gmail.com wrote: Hey all, I'm getting an annoying warning whenever I run the puppet cert command: [root@puppet:/etc/puppet

Re: [Puppet Users] initial_token for cassandra module

2014-05-25 Thread Tim Dunphy
at 1:44 PM, Jakov Sosic jso...@gmail.com wrote: On 05/25/2014 05:38 AM, Tim Dunphy wrote: Hey all, I'm trying to write a puppet module to deploy the cassandra database automatically. I'm using puppet templates to provide the IP address to the listen_address parameter of the cassandra.yaml file

[Puppet Users] initial_token for cassandra module

2014-05-24 Thread Tim Dunphy
Hey all, I'm trying to write a puppet module to deploy the cassandra database automatically. I'm using puppet templates to provide the IP address to the listen_address parameter of the cassandra.yaml file like so: listen_address: %= ipaddress % So far that part's working beautifully! However in

[Puppet Users] Failed to generate additional resources using 'eval_generate'

2014-03-15 Thread Tim Dunphy
Hey all, I'm getting the following error on only one of my puppet hosts: Error: /File[/var/lib/puppet/facts.d]: Failed to generate additional resources using 'eval_generate': Error 400 on SERVER: Not authorized to call search on /file_metadata/pluginfacts with {:links=manage,

[Puppet Users] include resources from another class

2014-03-06 Thread Tim Dunphy
Hey all, I have a module that I've written called 'lumberjack'. It installs the logstash forwarding agent called 'lumberjack' and gets the service running. However it depends on ca certificate which I include in another class (called simply 'ca'). Yet if I try to include a resource from the

Re: [Puppet Users] Re: setting up class default values

2014-03-05 Thread Tim Dunphy
My best translation of your apparent intent into effective Puppet code would be this: Class['postfix::install'] - Class['postfix::config'] Class['postfix::config'] ~ Class['postfix::service'] . That which can be shortened to this: Class['postfix::install'] - Class['postfix::config'] ~

Re: [Puppet Users] munin service wont' star

2014-03-04 Thread Tim Dunphy
Hey guys, I've actually found the problem. It turns out that I thought I had defined the munin-node package definition in my install.pp (munin::install) manifest. Turns out I only had defined the munin package which takes care of all the dependencies for it. Here's my main class in init.pp:

[Puppet Users] setting up class default values

2014-03-04 Thread Tim Dunphy
Hey all, I'm attempting to setup some defaults to my postfix 'config' class to require a package and request a refresh of the postfix service. This is my class definition: class postfix::config { $require = Class[postfix::install] $notify = Class[postfix::service] File { owner

[Puppet Users] munin service wont' star

2014-03-03 Thread Tim Dunphy
Hey all, I notice with the munin module I wrote, the munin-node service won't start on the first puppet run. Run it a second time, and the service starts no problem. The problem here I believe is that puppet is attempting to start the service before the package is installed. So I tried to

[Puppet Users] ensure user and group created

2014-02-26 Thread Tim Dunphy
Hey all, I've created a puppet module to control LDAP in my environment. The ldap packages on both the centos and ubuntu hosts seem to require a user and group called 'ldap' (respectively). in my ldap::install class I have the following defined: user { ldap: ensure = present, } group

Re: [Puppet Users] Re:

2014-02-13 Thread Tim Dunphy
Hello, Here's the site.pp: import 'nodes.pp' $puppetserver = 'puppet.jokefire.com' And relevant node definitions: node 'base' { include bash, sudo, puppet, ca, nagios, munin, ssh, gpg, xinetd, cron } node 'webserver' inherits 'base' { include apache, php, mysql } node

Re: [Puppet Users] Re: client certs won't remain relevant after foreman install

2014-02-13 Thread Tim Dunphy
I suggest you to remove all the files and directories at /var/lib/puppet/ssl like that: # rm -rf /var/lib/puppet/ssl The command I showed in the earlier email should do the same thing: [root@beta:~] #find /var/lib/puppet/ssl -type f -exec rm -f {} \; But just for the sake of

[Puppet Users]

2014-02-12 Thread Tim Dunphy
Hey all, I'm getting the following puppet error on only one of my hosts. The rest are all producing clean puppet runs. Can anyone please clarify for me the meaning of this error and if it's innocuous or not? Error: /File[/var/lib/puppet/lib]: Could not evaluate: Could not retrieve information

[Puppet Users] client certs won't remain relevant after foreman install

2014-02-12 Thread Tim Dunphy
Hey all, I've just got foreman setup today. And I've had to recreate my certs on the client hosts in order to get that to happen. However I'm facing an usual issue with my client ssl certs since installing foreman. I previously had a puppet server that was working well in my environment. But

[Puppet Users] proftpd module service error

2014-02-11 Thread Tim Dunphy
Hey puppet, I thought I had all my ducks in a row with this puppet module I had written for proftpd. I'm attempting to get the proftpd config to notify the proftpd service, but without much luck. [root@ops:~] #puppet agent --test Info: Loading facts in

Re: [Puppet Users] proftpd module service error

2014-02-11 Thread Tim Dunphy
not find dependent Sevice[proftpd] for File[/etc/proftpd.conf] at /etc/puppet/modules/proftpd/manifests/config.pp:9 Thanks, Tim On Tue, Feb 11, 2014 at 10:49 AM, Jerald Sheets que...@gmail.com wrote: Permission on the files? On Feb 11, 2014, at 10:46 AM, Tim Dunphy bluethu...@gmail.com wrote

Re: [Puppet Users] proftpd module service error

2014-02-11 Thread Tim Dunphy
Whoops! Yep that was it. :-/ The class now reads: class proftpd::config { file { /etc/proftpd.conf: owner = root, group = root, mode = 0640, content = template(proftpd/proftpd.conf.erb), notify = Service[proftpd], } } It's working fine now: [root@ops:~]

Re: [Puppet Users] Re: proftpd module service error

2014-02-11 Thread Tim Dunphy
That's great advice!! Thank you! Tim Sent from my iPhone On Feb 11, 2014, at 11:02 AM, Rafael Cristaldo raf...@rafaelcristaldo.com.br wrote: Try to change your notify on config.pp notify = Sevice[proftpd], TO notify = Class['proftpd::service], Before running ...test all the

Re: [Puppet Users] Re: proftpd module service error

2014-02-11 Thread Tim Dunphy
Once again great advice and will do! Tim Sent from my iPhone On Feb 11, 2014, at 11:11 AM, Rafael Cristaldo raf...@rafaelcristaldo.com.br wrote: Hey bluethundr Just a Good Tip! Every manifest created...use the puppet parser validate manifest.pp It will show you the

Re: [Puppet Users] Re: puppet via apache / passenger

2014-02-07 Thread Tim Dunphy
Hey all, I made a little progress. Turns out that my directory structure under the 'rack' directory may have been contributing to some of the problems I had been facing. Originally I had [root@puppet:/etc/puppet] #tree rack/ rack/ ├── tmp ├── public └── puppetmasterd └──

Re: [Puppet Users] Re: puppet via apache / passenger

2014-02-07 Thread Tim Dunphy
[puppetmaster] Notice: /Stage[main]/Puppet::Service/Service[puppet]/ensure: ensure changed 'stopped' to 'running' Info: /Stage[main]/Puppet::Service/Service[puppet]: Unscheduling refresh on Service[puppet] Notice: Finished catalog run in 8.73 seconds Thanks, Tim On Fri, Feb 7, 2014 at 4:30 AM, Tim

[Puppet Users] puppet via apache / passenger

2014-02-06 Thread Tim Dunphy
Hello puppet, I am trying to get puppet to work via apache and passenger and not having much luck. Here is the error that I am currently seeing: Warning: Not using cache on failed catalog Error: Could not retrieve catalog; skipping run Error: Could not send report: Error 405 on SERVER:

[Puppet Users] using facter variables in filenames

2014-01-29 Thread Tim Dunphy
Hi All, I'm attempting to distribute TLS certs based on the $hostname fact in my config manifest like so: class bacula::config { file { /etc/bacula/bacula-fd.conf: notify = Service[bacula-fd], owner = root, group = root, mode = 0640, require =

Re: [Puppet Users] using facter variables in filenames

2014-01-29 Thread Tim Dunphy
Ledesma joseluis.lede...@gmail.com wrote: Ups. Looking it again you forgot to set the module name in the puppet:// So the {} is not needed although I think is a good practice El 29/01/2014 18:23, Tim Dunphy bluethu...@gmail.com escribió: Hi All, I'm attempting to distribute TLS certs based

Re: [Puppet Users] using facter variables in filenames

2014-01-29 Thread Tim Dunphy
. Tim On Wed, Jan 29, 2014 at 3:35 PM, Johan De Wit jo...@open-future.be wrote: On 01/29/2014 07:39 PM, Tim Dunphy wrote: Hey all, Yup! You caught it. Managed to notice this as well, so forgive the intrusion on your day. But I was missing the module name. file { /etc/pki/tls/certs

[Puppet Users] accessing variable from another manifest

2014-01-21 Thread Tim Dunphy
Hello all, I'm attempting to follow along in the puppet book with the ssh module lesson. I'm at the part where I'm attempting to use a variable that's been set in another class called ssh::params. When I run the puppet on the client I get the following error: [root@beta:~] #puppet agent --test

[Puppet Users] Re: accessing variable from another manifest

2014-01-21 Thread Tim Dunphy
with the include function specifying ssh::params. So if anyone out there cares to enlighten on that issue, that'd be great. Glad however that I was able to get this working. Thanks! Tim On Tue, Jan 21, 2014 at 11:22 PM, Tim Dunphy bluethu...@gmail.com wrote: Hello all, I'm attempting to follow along

Re: [Puppet Users] ssh module dependency failure

2014-01-16 Thread Tim Dunphy
? Thanks Tim On Thu, Jan 16, 2014 at 12:55 AM, Andrea Cappelli a.cappe...@gmail.comwrote: Il 16/01/2014 06:25, Tim Dunphy ha scritto: Hi All, [] err: Failed to apply catalog: Could not find dependency Class[Ssh:install] for File[/etc/ssh/sshd_config] at /etc/puppet/modules/ssh/manifests

[Puppet Users] ssh module dependency failure

2014-01-15 Thread Tim Dunphy
Hi All, I'm writing to you today because I am attempting to follow along in the Pro Puppet book I am attempting the ssh module example from page 39. I am getting the following error on the client when I try to implement it: [root@beta:~] #puppet agent --test --server puppet.mydomain.com info:

[Puppet Users] logstash module to control service

2014-01-11 Thread Tim Dunphy
Hey all, I've created a number of puppet modules that control services in the form of init scripts on the hosts it controls. However I recently created a logstash init script and a puppet module to control it. It also should push out a config file. And the logstash module cannot control the

Re: [Puppet Users] sudo class not found

2014-01-07 Thread Tim Dunphy
for the clue-by-four! :) Tim On Tue, Jan 7, 2014 at 2:28 AM, Andrey Kozichev akozic...@gmail.com wrote: init.pp should be inside the manifests folder. On 7 Jan 2014 07:03, Tim Dunphy bluethu...@gmail.com wrote: Hey all, I'm attempting to follow along with the puppet pro book. And I'm trying

[Puppet Users] trouble sharing a file in a module

2014-01-07 Thread Tim Dunphy
hey all, Having a little trouble sharing a file as part of a module I'm attempting to use. This is the error that I'm seeing: [root@beta:~] #puppet agent --test --server puppet.mydomain.com info: Caching catalog for beta.jokefire.com info: Applying configuration version '1389142209' err:

[Puppet Users] sudo class not found

2014-01-06 Thread Tim Dunphy
Hey all, I'm attempting to follow along with the puppet pro book. And I'm trying to create my first module without much success. This is the error that I'm getting when I do a puppet run: [root@puppet:/etc/puppet] #puppet agent --test Info: Retrieving plugin Error: Could not retrieve catalog

[Puppet Users]

2014-01-01 Thread Tim Dunphy
Hi All, I am getting this error when trying to register a new host with my puppet server: Warning: Unable to fetch my node definition, but the agent run will continue: Warning: Error 400 on SERVER: Access denied for user 'puppet'@'localhost' (using password: YES) Info: Retrieving plugin Error:

[Puppet Users] puppet server complains of time sync

2012-06-23 Thread Tim Dunphy
Hello list, I am having an issue where a puppet agent on a client complains that clocks are out of sync between it and it's master - err: Could not send report: SSL_connect returned=1 errno=0 state=SSLv3 read server certificate B: certificate verify failed. This is often because the time is

Re: [Puppet Users] Autoscaling with Puppet

2012-05-13 Thread Tim Dunphy
I use scalr for this purpose.. http://scalr.net/ I think they did away with the free version of it recently. But if you ask me what they're asking is well worth it! Autoscales up and down based on server load. Works with both AWS and rackspace cloud. -tim On Sun, May 13, 2012 at 9:28 PM, de

Re: [Puppet Users] Re: puppet on solaris 11

2012-02-16 Thread Tim Dunphy
   = 'file', } On Feb 15, 8:11 pm, heriyanto shell.heriya...@gmail.com wrote: Maybe you can check this log installation for solaris 11http://log.unixhat.com/2012/02/setup-instalasi-solaris-sebagai-puppet... On 02/16/2012 10:53 AM, Tim Dunphy wrote: Hello Darin, Thanks for your

[Puppet Users] puppet on solaris 11

2012-02-15 Thread Tim Dunphy
hello, I've been asked to install puppet client onto a solaris 11 machine. I found some instructions that referenced a website called 'codenursary.com' however that website does not appear to be online anymore. http://projects.puppetlabs.com/projects/1/wiki/Puppet_Solaris codenursery.com

Re: [Puppet Users] template does not print variables

2011-11-29 Thread Tim Dunphy
operating system = CentOS On Tue, Nov 29, 2011 at 6:39 PM, Jacob Helwig ja...@puppetlabs.com wrote: On 2011-11-29 15:37 , Tim Dunphy wrote: Hello list,  I am having a  problem with template file. Why are variables not interpolated? [root@puppet manifests]# cat /etc/motd memory free

[Puppet Users] ubuntu package installs

2011-05-13 Thread Tim Dunphy
hello puppet list My puppet server is now working quite wonderfully. Thanks go out to all who have assisted in getting it to this point. At this point in time my config is now correctly installing packages according to arch,os and release. Centos is working quite well as of now, but I am

[Puppet Users] puppet client not receiving cert

2011-05-12 Thread Tim Dunphy
hello list!! I'm having an issue where a client is not receiving it's cert [root@ec2-50-16-98-245 ~]# puppetd -t --waitforcert 15 --server puppet.example.net info: Creating a new SSL key for ec2-xx-xx-xx-xxx.compute-1.amazonaws.com warning: peer certificate won't be verified in this SSL

[Puppet Users] cannot create www-data user

2011-05-10 Thread Tim Dunphy
hello list! I am having a little trouble with one of my manifests. in my apache module I attempt to start the httpd service, but it complains that www-data is a 'bad user'. This is what happens if I attempt to start httpd by hand after the initial puppet run: [root@puppet yum.repos.d]# service

[Puppet Users] error on puppetca --clean

2011-04-08 Thread Tim Dunphy
hello list I'm having a strange problem with a puppet server I was hoping I could get some input on.. whenever I try to remove a cert on the server by issuing puppetca --clean foo I get this error [root@puppet ~]# puppetca --clean ec2-42-17-124-193.compute-foo.amazonaws.com notice: Revoked

[Puppet Users] run stages in puppet 2.6

2011-03-24 Thread Tim Dunphy
hello guys, I am trying to incorporate run stages into my puppet setup. I've been working with this for a few days and I haven't quite got the hang of it yet... When I attempt my puppet run this is the error I see: [root@chromews21 ~]#

[Puppet Users] gpg key errors

2011-03-23 Thread Tim Dunphy
hello list I am having a strange occurrence where I can run puppet on a client successfully and have it install httpd and php and a few other packages. The first run everything goes ok and everything installs perfectly the first run. But if I delete the packages (using yum remove foo) and run

[Puppet Users] only one puppet client fails with yum

2011-03-16 Thread Tim Dunphy
hello list.. I am sharing a yum configuration in a class (centos.pp) between two nodes. But the yum configuration doesn't apply at all to one node even tho it does to another identically configured node. ## packages are failing to install via yum on one ec2 aws instance and another identical

Re: [Puppet Users] apache service start problem

2011-03-16 Thread Tim Dunphy
exist but not interfere. There maybe better ways though. Cheers, On 16/03/2011, at 9:40, Tim Dunphy bluethu...@gmail.com wrote: hello list!! I have developed a custom apache module for my company that setups up our own particular config of httpd and php in order to run our sites.. However

[Puppet Users] append to document with content attribute

2011-03-12 Thread Tim Dunphy
Hello list!! There is a line I usually like to add to my network scripts under centos. PEERDNS=no Is there a way to use the content = blah attribute to append to a file rather than clobber whatever's there and replace the contents? thanks! -- GPG me!! gpg --keyserver

Re: [Puppet Users] append to document with content attribute

2011-03-12 Thread Tim Dunphy
Cool, thank you Frank! I will check it out and I appreciate the advice! tim On Sat, Mar 12, 2011 at 12:13 PM, Frank Sweetser f...@wpi.edu wrote: On 3/12/2011 11:55 AM, Tim Dunphy wrote: Hello list!!  There is a line I usually like to add to my network scripts under centos.   PEERDNS

  1   2   >