Re: [Puppet Users] How to use create_resources with a define

2012-03-01 Thread Tim Mooney
hares, $nfs_mounts) } I get error: undefined method `[]' for nil:NilClass Tim -- Tim Mooney tim.moo...@ndsu.edu Enterprise Computing & Infrastructure 701-231-1076 (Voice) Room 242-J6, IACC Building 701-231

Re: [Puppet Users] Need advice how to architect solution for /etc/resolv.conf

2012-03-16 Thread Tim Mooney
and the list of nameservers. So I would like to use a single template for /etc/resolv.conf which simply plug in data available in variables accessible by the template You probably could do that, but I think the template will be more complicated this way. Selecting different templates based on wh

Re: [Puppet Users] Telly: Nagios types moving into Module

2012-04-16 Thread Tim Mooney
In regard to: Re: [Puppet Users] Telly: Nagios types moving into Module,...: If I wanted to use a secondary package management system, I could use gems or eggs or CPAN, but I don't. ;) +1. Tim -- Tim Mooney tim.moo...@ndsu.edu Enterprise Comp

Re: [Puppet-dev] Re: [Puppet Users] Telly: Nagios types moving into Module

2012-04-17 Thread Tim Mooney
module is installed - what "version" is present in each instance Tim -- Tim Mooney tim.moo...@ndsu.edu Enterprise Computing & Infrastructure 701-231-1076 (Voice) Room 242-J6, IACC Building

Re: [Puppet Users] Optional values from Hiera (no default value)

2012-04-26 Thread Tim Mooney
has been mentioned on the list even today. Tim -- Tim Mooney tim.moo...@ndsu.edu Enterprise Computing & Infrastructure 701-231-1076 (Voice) Room 242-J6, IACC Building 701-231-8541 (Fax) North Dakota State

[Puppet Users] mixing source & content (templates) in concat::fragment

2012-05-02 Thread Tim Mooney
oncat::fragment { "firewall-base": target => "$firewall_config", content => [ template("firewall/firewall-base.$fqdn.erb"), template('firewall/firewall-base.erb'), ], order => '01', } But that seems kind of hack

Re: [Puppet Users] mixing source & content (templates) in concat::fragment

2012-05-02 Thread Tim Mooney
x27;s no template code in them, and use concat::fragment { 'firewall-base': target => $firewall_config, content => [ template("firewall/firewall-base.${::fqdn}.erb"), template('firewall/firewall-base'), ], order => '01'

Re: [Puppet Users] mixing source & content (templates) in concat::fragment

2012-05-03 Thread Tim Mooney
template('firewall/firewall-base'), ], order => '01', } puppet does not support this either :) what you'll get there is a concat of the 2 templates Oh, that's quite disappointing. We'll need to completely rethink how we're doing this. T

[Puppet Users] linting manifests with long lines

2012-05-21 Thread Tim Mooney
a better way to break up long lines, perhaps a "join" function I've missed that would allow me to do something like class foo { yumrepo { 'some-repo': baseurl => join( '', 'http://some-relatively-long-url.com', 

Re: [Puppet Users] linting manifests with long lines

2012-05-24 Thread Tim Mooney
In regard to: Re: [Puppet Users] linting manifests with long lines, Nan Liu...: On Mon, May 21, 2012 at 11:55 AM, Tim Mooney wrote: All- I've been working through our local manifests with puppet-lint, trying to make certain we're as prepared as possible for puppet 3.x. I would li

[Puppet Users] advice on module/class refactoring for defines

2012-05-24 Thread Tim Mooney
ldconfig/manifests/config.pp at line 6; cannot redeclare at /etc/puppet/modules/ldconfig/manifests/config.pp:6 on node foo.bar.edu - I've considered giving the exec an alias that is unique per define, e.g. something like exec { '/sbin/ldconfig&#

Re: [Puppet Users] Re: advice on module/class refactoring for defines

2012-05-25 Thread Tim Mooney
x27;s all around the best available option. It's much nicer than the original version, even, because users don't have to separately include class 'ldconfig' before they can use the define. Agreed, that's something I was hoping to avoid. Thanks, Tim -- Tim Mooney

Re: [Puppet Users] advice on module/class refactoring for defines

2012-05-25 Thread Tim Mooney
t, but it's perfect. :-) Tim -- Tim Mooney tim.moo...@ndsu.edu Enterprise Computing & Infrastructure 701-231-1076 (Voice) Room 242-J6, IACC Building 701-231-8541 (Fax) North Dakota State University, Far

Re: [Puppet Users] Nvidia driver install - condition for install

2012-06-29 Thread Tim Mooney
'd like to do is put some sort of condition that will look to see if the driver is installed and if it is, the class "nvidia_driver" won't run. What I'm describing would still have the file resource fire every time /tmp gets cleaned and you need to re-dow

Re: [Puppet Users] hiera questions

2012-06-29 Thread Tim Mooney
s it is. You probably have some kind of "base" or "our_site" module already that just does things like include ntp include admin_packages include ssh include syslog etc. You could associate your custom fact(s) with that module by putting them in

Re: [Puppet Users] Hiera Tutorials

2012-06-29 Thread Tim Mooney
.ZZZ.BBB - XXX.YYY.ZZZ.CCC in other words, more complicated data structures. Both recommendations on whether or not that's a good idea *and* examples on how to successfully access the nested bits from within puppet would be appreciated. Advanced examples with create_resources() mig

Re: [Puppet Users] puppet node report

2012-06-29 Thread Tim Mooney
might go about developing your own (perhaps one for a database). See http://puppetlabs.com/blog/when-puppet-reports-part-1/ Note also there's a part 2 that you'll want to check out. The most straightforward method would probably be to enable the yaml backend and just pull the dat

Re: [Puppet Users] canĀ“t call custom fact

2012-06-29 Thread Tim Mooney
. Look in that directory. Does your oc4j.rb file exist in the directory? If it does, then pluginsync is working correctly, but the code itself isn't doing what you expect. If it doesn't exist, then it's not getting synced down to the client(s) correctly, so you'll need to debug w

Re: [Puppet Users] groups dependencies at user creation

2012-07-02 Thread Tim Mooney
gid => 'bar', } automatically ensures that group 'bar' is present before user 'foo'. I don't know if that same thing is true for supplemental groups, but if it's not, I would first try using the -> notation to establish ordering, like this Gro

Re: [Puppet Users] Re: groups dependencies at user creation

2012-07-03 Thread Tim Mooney
oups, ',') Groups[$groups_as_array] -> User[$username] ? I have my doubts, but it's what I would try next. Note that split() is part of the default set of functions that are part of puppet. For more info on functions, see http://docs.puppetlabs.com/references/st

[Puppet Users] augeas modify pam.d argument by relative position

2011-08-06 Thread Tim Mooney
rd-auth-ac/*[type = "auth"][module = "pam_succeed_if.so"][argument[position()] = "uid"][argument[position() + 1] = ">="] it fails to match. Anyone have an idea how I can rewrite things so that the match isn't dependent on the exact current order o

Re: [Puppet Users] Re: hasstatus not working as expected

2011-08-12 Thread Tim Mooney
th "DROP" then whitespace, then "all", then anything, then NEW, then any amount of whitespace # For some reason iptables -L has a whitespace after NEW if [ "$?" = "0" ]; then echo "iptables is running"

Quoting 'true' and 'false' (was: Re: [Puppet Users] new user: need Conditional statement example within a file resource type)

2011-12-16 Thread Tim Mooney
n that we didn't quote true or false in some places and leave them as barewords elsewhere, or it just wouldn't work. Mixing quoted & nonquoted gave us unreliable and unexpected results. This brings me back to the questions: where in the docs is this covered, and what are the reco

Re: [Puppet Users] Re: The Puppet Way to handle slow resources? (newbie)

2012-07-12 Thread Tim Mooney
ice" init script and have that script call the original script and augment the logic in start/stop/status/whatever to do whatever is needed to work correctly with puppet. Tim -- Tim Mooney tim.moo...@ndsu.edu Enterprise Computing & Infrastruct

Re: [Puppet Users] Could not evaluate: Could not retrieve information from environment production source(s) for one module, for other is ok

2012-08-06 Thread Tim Mooney
true/false a few months ago, search the archives for that. I can't remember if the style guide was updated with recommendations regarding quoting true/false, but that would also be a place to look. Try using yes/no (as strings) and checking for that in your class. You may also want to

Re: [Puppet Users] Re: A few questions about setting up Custom Facts

2012-08-08 Thread Tim Mooney
the final result back to the client for application. Note also that this means that all functions run on the master too. See: http://docs.puppetlabs.com/learning/agent_master_basic.html though I've actually seen better diagrams of the communication, that's the one I'm findi

[Puppet Users] how to resolve hostnames to IP addresses in templates

2012-08-09 Thread Tim Mooney
}, { host => 'foo99.example.com', port => '443', }, ]), } } I need my template to iterate over the http_servers and https_servers arrays and resolve the values for the host key for each element. Anyone have an example of how

Re: [Puppet Users] how to resolve hostnames to IP addresses in templates

2012-08-09 Thread Tim Mooney
admit that while I find hiera fantastic, I've really struggled with how our complex data should be organized in hiera. I'm looking forward to the hiera examples that Kelsey Hightower mentioned a couple weeks ago on the list, but seeing examples like this in the interim is really helpfu

Re: [Puppet Users] Re: how to resolve hostnames to IP addresses in templates

2012-08-09 Thread Tim Mooney
on_ is new to me. Time to do some more reading and research, but what you've provided really helps point me in the right direction. Tim On Thursday, August 9, 2012 1:38:14 PM UTC-7, Tim Mooney wrote: Environment: puppet 2.7.14 on both master and all clients. We're also using puppet

Re: [Puppet Users] how to resolve hostnames to IP addresses in templates

2012-08-09 Thread Tim Mooney
;s much more complicated than just using the "namespace via _" method that we're currently using. My hope is that some best practices and more examples with be part of some forthcoming documentation. Tim -- Tim Mooney tim.moo...@ndsu.e

Re: [Puppet Users] Re: Getting all variable occurrences from Hiera

2012-08-17 Thread Tim Mooney
to use a flat namespace, so you design things like this common.yaml: ntp_type: client ntp_servers: - 10.0.0.1 - 10.0.0.2 location/datacenter1.yaml: ntp_servers: - 10.1.0.101 - 10.1.0.102 fqdn/clock1.example.com.yaml: ntp_type: server As I've said before on the

Re: [Puppet Users] Override a file{} directive - is it possible?

2012-08-17 Thread Tim Mooney
rap your file{} resource in a conditional that tests the fact. Certainly vague answers to your question, but hopefully this gives you something to go on. If it's not enough to go on, provide more information about your environment. That will hopefully make it

Re: [Puppet Users] puppet-lint and 80 characters line limit?

2012-08-20 Thread Tim Mooney
same question on May 21st, check the group archives for the thread and some options. I believe the subject was "linting manifests with long lines". My solution: 01:20 PM dogbert ~$ cat ~/.puppet-lintrc --no-80chars-check Tim -- Tim Mooney

Re: [Puppet Users] Dynamic Lookup of facter variable.

2012-08-20 Thread Tim Mooney
50] root@testweb11:~# facter | grep ec2_instance_type ec2_instance_type => m1.large It's a facter variable. What's it complaining about? -- Tim Mooney tim.moo...@ndsu.edu Enterprise Computing & Infrastructure

Re: [Puppet Users] Dynamic Lookup of facter variable.

2012-08-20 Thread Tim Mooney
does help, thank you. It's one of those things that I wish I had known before I spent hours changing our modules in preparation for what I thought was going to be a requirement for puppet 3.x, but better late than never. :-) I appreciate the clarity you've provid

Re: [Puppet Users] Dynamic Lookup of facter variable.

2012-08-21 Thread Tim Mooney
list understand that this kind of thing is going to happen on occasion, especially when a major release is in the works. I certainly do. The trick is going to be stamping out places where "you must top-scope facts" may have already crept into documentation or people&

Re: [Puppet Users] package handling in puppet?

2012-08-21 Thread Tim Mooney
class { realize(Package['perl-Foo-Bar']) } That might be worth considering. We're not doing it that way, but perhaps we should be. So...what am I doing wrong? Does the puppet philosophy not really allow for maintaining package lists in classes? It does, but in my expe

Re: [Puppet Users] package handling in puppet?

2012-08-22 Thread Tim Mooney
ere it really was not intended. Your use of defined() might be perfect, but I just tend to shy away from defined(), probably because my knowledge of puppet doesn't make me certain that I would use it in the appropriate cases. Thanks for all of your advice. It's nice to

Re: [Puppet Users] Re: Getting all variable occurrences from Hiera

2012-08-22 Thread Tim Mooney
55.0.0' - '2001:4930::/:::' You could pretty easily write a custom parser function to return the data structures you want. Perhaps if I was as adept in ruby as many of the Puppetlabs employees, that would be pretty easy, but unfortunately I'm not

Re: [Puppet Users] Getting all variable occurrences from Hiera

2012-08-22 Thread Tim Mooney
is a stance from the designers and architects saying either "bad idea, don't do it" or "yeah, should work and we're not opposed to it". If I need to open a separate ticket to get that kind of directional clarity, I would be happy to do so. Tim -- Tim Mooney

Re: [Puppet Users] Getting all variable occurrences from Hiera

2012-08-23 Thread Tim Mooney
In regard to: Re: [Puppet Users] Getting all variable occurrences from...: On Wednesday, August 22, 2012 6:01:06 PM UTC-7, Tim Mooney wrote: If I need to open a separate ticket to get that kind of directional clarity, I would be happy to do so. A ticket specifically about this use-case

Re: [Puppet Users] Puppet visudo/ sudoers help

2012-08-29 Thread Tim Mooney
ractical and important to start with. Thanks all. -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To view this discussion on the web visit https://groups.google.com/d/msg/puppet-users/-/k7r-BpgI4s4J. To post to this group, send email to

Re: [Puppet Users] Re: Module critique

2012-09-07 Thread Tim Mooney
7;s all just using file shipping, though. We looked at templating some of the config but decided that was more advanced than what we wanted for our first solr roll-out. Tim -- Tim Mooney tim.moo...@ndsu.edu Enterprise Computing & Infrastructure

Re: [Puppet Users] Puppet module dependencies

2012-09-28 Thread Tim Mooney
the paragraph between the first two code blocks. That spells out why the 'before => Class["slave"]' that you're using isn't doing what you want. Tim -- Tim Mooney tim.moo...@ndsu.edu Enterprise Computing & Infrastr

[Puppet Users] nested modules and autoloading

2012-09-28 Thread Tim Mooney
m plenty of first-hand experience that another reason why I might see a "could not find class " is if I have a typo in the class name within the .pp file, but I've reviewed the classes involved here and don't see any problems. Any thoughts on whether it's

Re: [Puppet Users] nested modules and autoloading

2012-09-28 Thread Tim Mooney
itted modules/mymodule/manifests/special_type.pp to our VCS. :-| Oops. Thanks, Tim On 28.09.2012, at 12:53, Tim Mooney wrote: All- I'm using puppet 2.7.14. I've reviewed http://docs.puppetlabs.com/puppet/2.7/reference/modules_fundamentals.html but it doesn't seem to

[Puppet Users] anchor pattern and class containment status

2012-10-03 Thread Tim Mooney
#x27;] ? My resources within the class are using explicit "require" when necessary and relying on puppet's automatic "require" logic in other places so they are correctly ordered, but it's not clear from the pattern document in the wiki or the ticket whether the

Re: [Puppet Users] anchor pattern and class containment status

2012-10-04 Thread Tim Mooney
In regard to: Re: [Puppet Users] anchor pattern and class containment...: On Wed, Oct 3, 2012 at 2:57 PM, Tim Mooney wrote: All- We're currently using puppet 2.7.14 on master and all clients. I thought I understood why 'anchor' is part of stdlib, but after re-reading bot

Re: [Puppet Users] anchor pattern and class containment status

2012-10-04 Thread Tim Mooney
In regard to: Re: [Puppet Users] anchor pattern and class containment...: On Wed, Oct 3, 2012 at 2:57 PM, Tim Mooney wrote: I thought I understood why 'anchor' is part of stdlib, but after re-reading both I suspect Dan & John have covered this well enough for you but I wanted

Re: [Puppet Users] One client out of 150 doesn't apply config changes

2012-10-13 Thread Tim Mooney
for info: Applying configuration version '1349982313' notice: Finished catalog run in 49.28 seconds Does it change if you also add '--no-noop' to the puppet apply command? Is it possible someone modified /etc/puppet.conf and added &#x

Re: [Puppet Users] Re: The free software tarballs are now difficult to find

2012-10-15 Thread Tim Mooney
osted on GitHub no longer seems to follow any notion of "versions" or "releases". This makes packaging and local version tracking a bit more tricky. I see that you PuppetLabs folks are continuing to do a good job of tagging release versions, though. That's great news, and

Re: [Puppet Users] Puppet & Oracle Database config management

2012-10-24 Thread Tim Mooney
settings, along with a bit of logic in the manifest for whether AMM is in use or hugepages. We too have multiple databases per host, which complicates things somewhat. If you come up with something you feel is even moderately elegant, consider sharing it on the forge. Tim -- Tim Mooney

Re: [Puppet Users] Managing untemplatable configuration files

2012-10-24 Thread Tim Mooney
th the simple stuff, like file-shipping entire config files where necessary, but keep learning and keep refining. Tim -- Tim Mooney tim.moo...@ndsu.edu Enterprise Computing & Infrastructure 701-231-1076 (Voice) Room 242-J6, IACC Bui

Re: [Puppet Users] Puppet & Oracle Database config management

2012-10-25 Thread Tim Mooney
In regard to: Re: [Puppet Users] Puppet & Oracle Database config...: Have you got any examples of the hiera config you're using? As I said, it's pretty rough. class oracledb::sysctl( $use_amm = false, $large_mem_pages = '0', $hugetlb_gid = '1001', ) { validate_bool($use_amm) valida

Re: [Puppet Users] Have Class Only Perform Actions When There Is Work To Do (i.e. Making Them Idempotent)

2012-10-26 Thread Tim Mooney
ury all the fetch/extract/configure/compile/install logic in the shell script, which puppet will make certain is always present on the system. It will only execute it if /your/python/lib/dir is not present. But if you're going to build fetch/extract/configure/compile/install logic i

Re: [Puppet Users] Have Class Only Perform Actions When There Is Work To Do (i.e. Making Them Idempotent)

2012-10-26 Thread Tim Mooney
In regard to: Re: [Puppet Users] Have Class Only Perform Actions When There...: On Friday, October 26, 2012 2:31:56 PM UTC-4, Tim Mooney wrote: In regard to: [Puppet Users] Have Class Only Perform Actions When There Is...: I would highly recommend you just package your custom python and

Re: [Puppet Users] RHEL 6 Protected multilib versions Requirment to have both 32 and 64 bit libs installed.

2012-10-29 Thread Tim Mooney
-satellite-32bit-deps': ensure => installed, } This virtual package then pulls in whatever dependencies you have listed. Tim -- Tim Mooney tim.moo...@ndsu.edu Enterprise Computing & Infrastructure 701-231-

Re: [Puppet Users] Install RPM package via puppet

2012-11-01 Thread Tim Mooney
one the parts that a lot of people seem to want to skip; specifically packaging the software and creating a local repo with the software in it. You just need to define your repo to puppet and then use a very standard "package" resource to make it present. Note the yumrepo resource type

Re: [Puppet Users] Install RPM package via puppet

2012-11-01 Thread Tim Mooney
e from your repo? If it does, then using just the "package" resource should be enough to get it installed. On a CentOS client, you shouldn't need to do anything with "provider" and you shouldn't need to set "source". If it'

Re: [Puppet Users] Re: Apply multiple defines in sequence

2012-11-05 Thread Tim Mooney
ve those settings come from hiera, and as things currently stand booleans from hiera are just a trap for the unwary. I would actually do the wordpress stuff as a separate class, which has its own wordpress::instance define, and then call that define from within

Re: [Puppet Users] Puppet - Postfix - How-To edit generic.db

2012-11-09 Thread Tim Mooney
efreshonly => true, notify => Service['postfix'], } restart service postfix service { 'postfix': ensure => running, enable => true, } Tim -- Tim Mooney

Re: [Puppet Users] Re: Seeking some Puppet advice for a newbie (specifically Virtualmin/CSF related)

2012-11-20 Thread Tim Mooney
tp and has enough disk space to store your RPMs, you're already most of the way there. Tim -- Tim Mooney tim.moo...@ndsu.edu Enterprise Computing & Infrastructure 701-231-1076 (Voice) Room 242-J6, IACC Building

Re: [Puppet Users] Managing ssh server's keys?

2012-11-26 Thread Tim Mooney
ather than "/private" and we're using %H (fqdn) rather than %h (short host name). Tim -- Tim Mooney tim.moo...@ndsu.edu Enterprise Computing & Infrastructure 701-231-1076 (Voice) Room 242-J6, IACC Building

Re: [Puppet Users] New to Puppet -- why the puppet user

2012-11-26 Thread Tim Mooney
e them run as a non-privileged user (& group). Note that if your puppet master is a client of itself (or some other puppet master) then the puppet agent running there still needs to be run as root. The agent enforces the state, which requires administrative access. The master calculates the s

Re: [Puppet Users] upgrading puppet

2012-11-28 Thread Tim Mooney
ersions, though there's a setting in 2.7.20 that allows it to work again. My recommendation is that you install 3.0.x somewhere, install puppet-lint, and use puppet-lint and "puppet parser validate" on your manifests. Study the output from both, and adjust accordingly. Tim -- Tim

Re: [Puppet Users] Puppetdb source install on Solaris. Agents complain about "invalid encoding ("UTF-8//IGNORE", "UTF-8")"

2012-11-30 Thread Tim Mooney
from -e:1:in `' (learning Ruby is still on my to-do list) Same for me, and it has presented a slight barrier to entry for becoming really comfortable with puppet. ruby -e "require 'iconv'; puts Iconv.list.sort" That should dump out the list

[Puppet Users] passing an environment variable to a command in a provider

2013-06-28 Thread Tim Mooney
done so far haven't turned up anything helpful. Can anyone that's familiar with writing types and providers shed some light on what I should be doing to augment this? I know this is as much ruby ignorance as puppet ignorance, but I have to believe that there are people here that can po

Re: [Puppet Users] passing an environment variable to a command in a provider

2013-07-01 Thread Tim Mooney
In regard to: Re: [Puppet Users] passing an environment variable to a...: On Fri, Jun 28, 2013 at 2:03 PM, Tim Mooney wrote: We have some custom types & providers related to mysql (mysql_user, mysql_grant, mysql_db) written by an admin that's no longer here. The provider just uses

Re: [Puppet Users] passing an environment variable to a command in a provider

2013-07-01 Thread Tim Mooney
In regard to: Re: [Puppet Users] passing an environment variable to a...: On Jun 28, 2013 2:06 PM, "Tim Mooney" wrote: works fine, but on hosts where we use our mysql module with the custom types and provider, we can't do that. We instead have to sudo su -

[Puppet Users] error testing puppet 3.x upgrade: You need rubygems to use Hiera

2014-01-08 Thread Tim Mooney
and that on my real master I will need to uninstall the 'rubygem-hiera-puppet' package, but the client I promoted to be the temporary master has never had that installed. Google searches for this error just turn up the "install rubygems" r

Re: [Puppet Users] error testing puppet 3.x upgrade: You need rubygems to use Hiera

2014-01-09 Thread Tim Mooney
& puppet-server packages, and that still didn't make any difference. I definitely appreciate the response and the suggestions for stuff to look for, but unfortunately it doesn't seem to be what's causing the issue. Tim On 1/8/2014 5:16 PM, Tim Mooney wrote: All- I've

Re: [Puppet Users] error testing puppet 3.x upgrade: You need rubygems to use Hiera

2014-01-17 Thread Tim Mooney
t' package, but the client I promoted to be the temporary master has never had that installed. Google searches for this error just turn up the "install rubygems" response. Brent Clark posted to this list in December with the same problem, but there were no follow-up responses. A

[Puppet Users] selecting a command in a provider based on class variable?

2014-04-11 Thread Tim Mooney
point me at some prior art, I would greatly appreciate it. Thanks, Tim -- Tim Mooney tim.moo...@ndsu.edu Enterprise Computing & Infrastructure 701-231-1076 (Voice) Room 242-J6, Quentin Burdick Building 701-231-8541 (Fa

Re: [Puppet Users] Re: selecting a command in a provider based on class variable?

2014-04-14 Thread Tim Mooney
In regard to: [Puppet Users] Re: selecting a command in a provider based on...: On Friday, April 11, 2014 7:15:05 PM UTC-5, Tim Mooney wrote: Hi All! The tl;dr version: Can anyone point me at an example of an existing provider that selects a particular command based not on a facter fact

Re: [Puppet Users] Re: RHEL7 facts missing

2014-06-25 Thread Tim Mooney
nction normal again. Hope this helps. -- Tim Mooney tim.moo...@ndsu.edu Enterprise Computing & Infrastructure 701-231-1076 (Voice) Room 242-J6, Quentin Burdick Building 701-231-8541 (Fax) North Dakota State U

[Puppet Users] advice and best practices for environments

2014-07-17 Thread Tim Mooney
ice people have regarding workflow with environments and subversion would be greatly appreciated! Thanks, Tim -- Tim Mooney tim.moo...@ndsu.edu Enterprise Computing & Infrastructure 701-231-1076 (Voice) Room 242-J6, Quentin Burdick Bui

[Puppet Users] parameters for puppetlabs-apache module with RHEL SCL httpd24

2014-10-03 Thread Tim Mooney
nt spot, has a different init script, etc. The default parameters in the puppetlabs-apache module assume the older 'httpd' package, /etc/httpd for the base dir, etc. I'm looking for what parameters people are passing to the apache class to

[Puppet Users] creating hashes from other hashes

2014-11-06 Thread Tim Mooney
As you might guess, this is to make $new_hash suitable for passing to create_resources. Is there some other way to create a new hash, give it a single top-level key that is a variable, and assign a separate (passed-in as a parameter) hash as the value for that key? I would be fine with using

Re: [Puppet Users] Re: creating hashes from other hashes

2014-11-07 Thread Tim Mooney
iable, and assign a separate (passed-in as a parameter) hash as the value for that key? I would be fine with using stdlib::merge, but I don't see any obvious way to accomplish this task with stdlib::merge either. Thanks, Tim -- Tim Mooney tim.m...@nd

Re: [Puppet Users] Re: creating hashes from other hashes

2014-11-13 Thread Tim Mooney
In regard to: Re: [Puppet Users] Re: creating hashes from other hashes,...: On 2014-07-11 23:43, Tim Mooney wrote: In regard to: [Puppet Users] Re: creating hashes from other hashes, Luke...: Huh, at first glance that to me looks like a parser bug. Not so much a bug as an unessesary

[Puppet Users] workarounds for ruby segfaults on puppet master

2014-11-19 Thread Tim Mooney
27;t be able to use the Puppet Labs packages anymore, at least on the master. The big concern I have relates to how advisable it is to use a different version of ruby on the master vs. all of the clients? Have other RHEL users tried this, with any succes

Re: [Puppet Users] Re: workarounds for ruby segfaults on puppet master

2014-11-20 Thread Tim Mooney
so broken it can't be fixed" that caused me to ask here. You have been extremely helpful! Thanks so much for the information you've provided! It very likely has saved me a lot of work. Tim -- Tim Mooney tim.moo...@ndsu.edu Enterprise Computi

Re: [Puppet Users] Re: workarounds for ruby segfaults on puppet master

2014-11-25 Thread Tim Mooney
has been painful enough just getting the traditional stack upgraded. Thanks for your thoughts on this! Very much appreciated. Tim -- Tim Mooney tim.moo...@ndsu.edu Enterprise Computing & Infrastructure 701-231-1076 (Voice) Roo

Re: [Puppet Users] Re: workarounds for ruby segfaults on puppet master

2014-11-25 Thread Tim Mooney
witching our puppet master to use the "ruby193-*" packages from SCL. A minor downside is that I won't be able to use the Puppet Labs packages anymore, at least on the master. The big concern I have relates to how advisable it is to use a different version of ruby on the master vs. al

[Puppet Users] debugging catalog issue for one client after upgrade

2015-06-18 Thread Tim Mooney
n provide the output from --debug for both the new master and the client, if anyone is interested in looking through it. Thanks, Tim -- Tim Mooney tim.moo...@ndsu.edu Enterprise Computing & Infrastructure 701-231-1076 (Voice) Room 242

[Puppet Users] class parameters that depend on other parameters

2018-06-11 Thread Tim Mooney
, but setting just the first setting should provide suitable defaults for the others. This doesn't work, because there's a chicken-or-the-egg problem here. Class sandbox inherits from sandbox::params to follow the "params pattern", so

Re: [Puppet Users] class parameters that depend on other parameters

2018-06-12 Thread Tim Mooney
In regard to: Re: [Puppet Users] class parameters that depend on other...: On 2018-06-12 00:55, Tim Mooney wrote: [snip some of my original context] Here's an example: modules/sandbox/manifests/init.pp: # # This module exists only to serve as a sandbox where we can experiment with # p

Re: [Puppet Users] class parameters that depend on other parameters

2018-06-13 Thread Tim Mooney
. The options you considered and then rejected, and the reasons why were also very useful to hear. Between you and John, I have lots of great suggestions that I now need to consider. Thanks, Tim -- Tim Mooney tim.moo...@ndsu.edu Enterprise Computing

Re: [Puppet Users] class parameters that depend on other parameters

2018-06-13 Thread Tim Mooney
how I can modernize and hopefully simplify several of our home-grown modules and classes. The time you took to read and reply is greatly appreciated. Tim -- Tim Mooney tim.moo...@ndsu.edu Enterprise Computing & Infrastructure 701-231-1076 (V

[Puppet Users] managing users and grants with recent puppetlabs-mysql

2019-01-22 Thread Tim Mooney
h puppetlabs-mysql? I've searched these forums and the web, and other than an outdated and now incorrect hit on StackOverflow, I'm not finding information on what should replace *public* use of mysql_user and mysql_grant. Thanks, Tim -- Tim Mooney

Re: [Puppet Users] Re: managing users and grants with recent puppetlabs-mysql

2019-01-23 Thread Tim Mooney
I was trying to discover: what are the replacements for these resources that have transitioned to "private"? It just seems strange to me to mark something as private without first having an established replacement. Thanks, Tim -- Tim Mooney

[Puppet Users] upgrading opensource from 5.5 to 6.x

2020-03-18 Thread Tim Mooney
there were between 3.8 and 5.x, but there has to be more to it than just update the packages without making any changes to your config files, etc. For others that have been through the same upgrade recently, what docs did you follow, and were there any gotchas that weren't covered? Thanks! Ti

Re: [Puppet Users] upgrading opensource from 5.5 to 6.x

2020-05-14 Thread Tim Mooney
easier than 3.8.x to 5.x. Martin's info confirmed that I had found everything I needed. The Example42 blog post Martin linked was also very helpful in working around the CA changes. The upgrade went smoothly and we've been using 6.x for a few weeks now. Thanks again! Tim On 19. Mar

[Puppet Users] RHEL 9 agent support?

2022-06-13 Thread 'Tim Mooney' via Puppet Users
RHEL 9 has been out for a few weeks. I see OpenSource puppet agent 7 and puppet bolt packages for RHEL 9, but no OpenSource puppet agent 6 releases. Are there plans to package puppet agent 6 for RHEL 9? Tim -- Tim Mooney tim.moo...@ndsu.edu

Re: [Puppet Users] RHEL 9 agent support?

2022-06-13 Thread 'Tim Mooney' via Puppet Users
! Much appreciated. Tim -- Tim Mooney tim.moo...@ndsu.edu Enterprise Computing & Infrastructure / Division of Information Technology/701-231-1076 (Voice) North Dakota State University, Fargo, ND 58105-5164 -- You received this mes

[Puppet Users] modules for NetworkManager

2022-07-26 Thread 'Tim Mooney' via Puppet Users
HEL 9? Thanks, Tim -- Tim Mooney tim.moo...@ndsu.edu Enterprise Computing & Infrastructure / Division of Information Technology/701-231-1076 (Voice) North Dakota State University, Fargo, ND 58105-5164 -- You received this message be

Re: [Puppet Users] Can I store RPM's on the Puppet Server to install on agents ?

2022-09-29 Thread 'Tim Mooney' via Puppet Users
hat's running a web server, you're most of the way there already. Tim -- Tim Mooney tim.moo...@ndsu.edu Enterprise Computing & Infrastructure / Division of Information Technology/701-231-1076 (Voice) North Dakota State Un

[Puppet Users] puppet idiom to select particular module stream?

2023-09-11 Thread 'Tim Mooney' via Puppet Users
7;t enabled (first). If we manually (outside puppet) switch the client to the correct stream, then the 2nd package resource does install the version we want. Obviously, we want to control the one-time module stream selection in puppet too. Can anyone tell me what the correct idiom is to do what I&

Re: [Puppet Users] puppetlabs-lvm & inconsistency of pv devices

2024-05-08 Thread 'Tim Mooney' via Puppet Users
've struggled with that question too, so I look forward to hearing what other sites are doing. I've also never been sure what the best practice is for where these type of host-specific resources should be in the overall class hierarchy. Tim -- Tim Mooney