[Puppet Users] Re: Puppet Community Roles and Profiles

2017-01-14 Thread Joe
Ahh ok , so i am overthinking this..instead of declaring this class in resource like fashion just use the "include class" method ... If so that simple concept makes perfect sense. Thank you very much On Wednesday, January 11, 2017 at 3:52:52 PM UTC-7, Joe wrote: > > Hello All,

[Puppet Users] Re: Puppet Community Roles and Profiles

2017-01-14 Thread Joe
nfig::file2 located in modules/file_config/manifests/file1.pp and file2.pp? I hope this is clear and I am 99.9% sure I am approaching this incorrectly. Thanks On Thursday, January 12, 2017 at 11:23:33 AM UTC-7, Joe wrote: > > Thank you guys very much, will read up on this. > > > &

[Puppet Users] Re: Puppet Community Roles and Profiles

2017-01-12 Thread Joe
Thank you guys very much, will read up on this. On Wednesday, January 11, 2017 at 3:52:52 PM UTC-7, Joe wrote: > > Hello All, > > Does Puppet Community support Roles and Profiles? The Puppet Community > does section does not appear to have documentation on the

[Puppet Users] Puppet Community Roles and Profiles

2017-01-11 Thread Joe
Hello All, Does Puppet Community support Roles and Profiles? The Puppet Community does section does not appear to have documentation on them, just looking for confirmation. Thanks -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To

[Puppet Users] Re: Problem with test run

2017-01-03 Thread Joe
Rob, is there a way to set 'stringify_facts = false' globally on the puppet server or this must be done on all clients? I just hit this with a puppetlabs module and setting to false on the agent worked. Obviously I would rather set t once on the server. Thanks On Sunday, November 6, 2016 at

[Puppet Users] Re: Array Iteration for Community Edition of Puppet(3.8)

2017-01-02 Thread Joe
All good guys, thanks. Puppetserver 2.7.2-1 installed and clients working. On Saturday, December 31, 2016 at 10:05:49 PM UTC-7, Joe wrote: > > Hi All > > Puppet v3.8.7 community on Ubuntu 14 LTS > > I have been attempting to write a class to use the "file_line" type

[Puppet Users] Re: Array Iteration for Community Edition of Puppet(3.8)

2017-01-02 Thread Joe
pet 4"? I am a few days into puppet and so I am a bit confused. Thanks again On Saturday, December 31, 2016 at 10:05:49 PM UTC-7, Joe wrote: > > Hi All > > Puppet v3.8.7 community on Ubuntu 14 LTS > > I have been attempting to write a class to use the "file_line&q

[Puppet Users] Re: Array Iteration for Community Edition of Puppet(3.8)

2017-01-02 Thread Joe
post.html> Thanks again On Saturday, December 31, 2016 at 10:05:49 PM UTC-7, Joe wrote: > > Hi All > > Puppet v3.8.7 community on Ubuntu 14 LTS > > I have been attempting to write a class to use the "file_line" type > reference from the stdlib library to add mul

[Puppet Users] Re: Array Iteration for Community Edition of Puppet(3.8)

2017-01-01 Thread Joe
Got it guys, the issue was with the file_line declaration as evidenced by the error. I made the declaration change with the variable and it worked. Thanks all for the help. On Saturday, December 31, 2016 at 10:05:49 PM UTC-7, Joe wrote: > > Hi All > > Puppet v3.8.7 community on U

[Puppet Users] Re: Array Iteration for Community Edition of Puppet(3.8)

2017-01-01 Thread Joe
file_line type but that throws another error since it is not acceptable to file_line. Is there any way around this that you guys are aware of? Thanks On Saturday, December 31, 2016 at 10:05:49 PM UTC-7, Joe wrote: > > Hi All > > Puppet v3.8.7 community on Ubuntu 14 LTS > > I ha

[Puppet Users] Re: Array Iteration for Community Edition of Puppet(3.8)

2017-01-01 Thread Joe
3.8.6-1puppetlabs1 0 500 http://apt.puppetlabs.com/ trusty/main amd64 Packages Am I missing something? How can I install the Puppetmaster 4 and Puppetmaster-passenger 4 packages on ubuntu server via repository? Thanks again On Saturday, December 31, 2016 at 10:05:49 PM UTC-7, Joe wro

[Puppet Users] Array Iteration for Community Edition of Puppet(3.8)

2016-12-31 Thread Joe
Hi All Puppet v3.8.7 community on Ubuntu 14 LTS I have been attempting to write a class to use the "file_line" type reference from the stdlib library to add multiple lines to a file if these lines are not present. I was attempting to do this with iteration using the each function and tried

[Puppet Users] Node classification groups for Puppet Community edition?

2016-12-22 Thread Joe
Hi Guys, new to puppet. Wondering if htere are node classification groups for puppet community edition or if these are only available in the Enterprise version? Thanks! -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To unsubscribe from this

[Puppet Users] [ANN] Puppet Server 2.7.0 release available

2016-11-09 Thread Joe Pinsonault
We’re happy to announce the 2.7.0 release of Puppet Server. This is a backward compatible feature and bug fix release. *NOTE*: If you are upgrading to version 2.7.0 from a version earlier than 2.5.0 and you have modified the "bootstrap.cfg" file, please read this document

[Puppet Users] Re: logrotate and puppetserver debian package

2016-09-13 Thread Joe Pinsonault
Are you performing an ugprade or a fresh install? puppetserver's logrotate file isn't needed in puppet server 2.6.0+, so you can safely remove it either way, but it should not be there if you're doing a fresh install. /etc/logrotate.d/puppetserver will still be there on debian if you're

[Puppet Users] Re: Puppetserver crashes when using Code-Manager and file sync

2016-05-13 Thread Joe Pinsonault
Mike, A few things I can think of off the top of my head It sounds as if a git repo that file-sync uses internally has become corrupted, though it's hard to tell from the error message. Would you be able to post the complete puppetserver.log (maybe to a gist)? It might help to see how far code

[Puppet Users] Announce: Puppet Server 2.3.1 is now available

2016-03-23 Thread Joe Pinsonault
Puppet Server 2.3.1 is now available. This is a bug-fix release that resolves a disruptive logging configuration issue. SERVER-1215 - If its Logback service is configured to log to syslog, Puppet Server 2.3.0 fails to start. Puppet Server 2.3.1 fixes this regression, which did not affect prior

[Puppet Users] open source puppet services

2015-06-30 Thread Joe Beck
I'm looking for an individual with solid (open source) puppet skills. I know the basics around puppet but have not worked with it beyond basic support for quite a few years. I'm looking to buy a block of hours from someone or a company offering these services. I have a few updates needed to

[Puppet Users] Could not evaluate: Could not find command '/var/lib/puppet/concat/bin/concatfragments.rb'

2015-06-04 Thread Joe Koenig
= latest } package { wkhtmltopdf: ensure = 0.12.1-1.el7 } } Any pointers on what may be causing this would be greatly appreciated. Thanks! Joe -- You received this message because you are subscribed to the Google Groups Puppet Users group. To unsubscribe from this group and stop

[Puppet Users] Re: Error 400 on SERVER: Could not find class lamp

2015-05-27 Thread Joe Koenig
On Tuesday, May 26, 2015 at 8:15:43 AM UTC-5, jcbollinger wrote: On Friday, May 22, 2015 at 3:34:11 PM UTC-5, Joe Koenig wrote: Hi all, I'm trying to learn puppet and am running into a roadblock trying to get an agent to pickup its configuration from a master server. On master, I

[Puppet Users] Re: Error 400 on SERVER: Could not find class lamp

2015-05-27 Thread Joe Koenig
Hi All, This seems to be resolved. I was running puppet 3.7.5 and updated to 3.8.1 and it magically all worked as expected. -- 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

[Puppet Users] Error 400 on SERVER: Could not find class lamp

2015-05-22 Thread Joe Koenig
installing ensure = installed, } # ensure info.php file exists file { '/var/www/html/info.php': ensure = file, content = '?php phpinfo(); ?',# phpinfo code require = Package['apache2'],# require 'apache2' package before creating } } Thanks in advance for any help! Joe

Re: [Puppet Users] Message from application: Permission denied - /etc/puppet/modules (Errno::EACCES)

2015-05-15 Thread Joe Koenig
On Thursday, May 14, 2015 at 2:37:14 PM UTC-5, Joe Koenig wrote: On Monday, May 11, 2015 at 8:38:23 PM UTC-5, Gabriel Filion wrote: I think I've gotten this resolved. Not 100% sure, but may have been SELinux related. I changed SELinux to permissive mode and I was able to get an agent

Re: [Puppet Users] Message from application: Permission denied - /etc/puppet/modules (Errno::EACCES)

2015-05-14 Thread Joe Koenig
first experience with Puppet at all, so I appreciate your patience during my learning curve. Thanks Joe -- 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

[Puppet Users] Message from application: Permission denied - /etc/puppet/modules (Errno::EACCES)

2015-05-11 Thread joe
-preloader.rb:28:in `main' [ 2015-05-10 21:09:09.6767 1455/7f09e209e700 age/Hel/Req/CheckoutSession.cpp:252 ]: [Client 1-2] Cannot checkout session because a spawning error occurred. The identifier of the error is a313ca62. Please see earlier logs for details about the error. Thanks! Joe

Re: [Puppet Users] Message from application: Permission denied - /etc/puppet/modules (Errno::EACCES)

2015-05-11 Thread Joe Koenig
On Monday, May 11, 2015 at 11:24:02 AM UTC-5, Gabriel Filion wrote: Hey there, On 10/05/15 10:15 PM, j...@poweriep.com javascript: wrote: Message from application: Permission denied - /etc/puppet/modules (Errno::EACCES) make sure to also verify permissions on /etc/puppet itself. If

[Puppet Users] Remote Puppet-dashboard ENC

2014-09-01 Thread Joe Sanoh
How do you configure ENC on a remote puppet-dashboard? node_terminus = exec external_nodes = /usr/bin/env PUPPET_DASHBOARD_URL=http://localhost:3000 remote-dashboard /usr/share/puppet-dashboard/bin/external_node How do I configure tihs part:: remote-dashboard

Re: [Puppet Users] Parsing issues in 3.5

2014-06-04 Thread Joe Topjian
it, please file a ticket in that case. Again, sorry for the late reply, but I wanted to confirm that setting evaluator to current did resolve the issue. I'll file a ticket now. Thanks, Joe -- You received this message because you are subscribed to the Google Groups Puppet Users group

Re: [Puppet Users] Puppet update to 3.6.1 causes Error 400 on SERVER: no 'environments' in ...

2014-05-30 Thread joe
How did you not define any environments. I've removed the /etc/puppet/environments folder and have no envs. set anywhere else. Still happens with WebRick. On Tuesday, May 27, 2014 1:31:34 PM UTC-2:30, Atom Powers wrote: I struggled with this for a while on Friday. The error doesn't occur

[Puppet Users] Puppet update to 3.6.1 causes Error 400 on SERVER: no 'environments' in ...

2014-05-27 Thread joe
After upgrading to Puppet 3.6.1 I get this error: Warning: Error 400 on SERVER: no 'environments' in {:root_environment=#Puppet::Node::Environment:0x7f7453299a90 @config_version=nil, @manifest=/, @modulepath=[], @watching=true, @name=:*root*,

Re: [Puppet Users] Parsing issues in 3.5

2014-05-12 Thread Joe Topjian
current but not under --evaluator future, we like to hear about it, please file a ticket in that case. I apologize for the late reply! Thank you for your reply and information. I'm away from the office this week, but will try this out as soon as I have a chance. Thanks again, Joe -- You

[Puppet Users] Parsing issues in 3.5

2014-05-09 Thread Joe Topjian
needed made, but I don't understand what caused them to appear in 3.5.x when everything works fine in 3.4. I read that Puppet 3.6 fixes some issues with the future parser. Are the issues I'm seeing known and fixed? Thanks, Joe -- You received this message because you are subscribed to the Google

Re: [Puppet Users] LaunchDaemon on Mac OSX 10.9 Mavericks

2014-03-14 Thread Joe Garfoot
Hi Merlin, It¹s working here. This is what we're using with Mavericks and Puppet 3.4.3. http://pastebin.com/i9A82gYr I installed puppet using the installer packages from Puppet Labs rather than via a gem if that makes a difference. Thanks Joe On 14/03/2014 13:21, Merlin Hartley

[Puppet Users] Using the user

2014-02-21 Thread Joe Bond
, and the type reference page doesn't seem to have the functionality I want, so I thought I'd post. Here is how a user is created: user { Joe: ensure = 'present', uid = '3657', gid = '5002', shell = '/bin/csh', home= '/home

[Puppet Users] Oxford Global Resources is hiring for a devops role

2013-09-19 Thread Joe FitzGerald
candidate, we may consider other arrangements if neither of those locations work for you. Please contact me if you are interested in applying or have questions. Joe -- You received this message because you are subscribed to the Google Groups Puppet Users group. To unsubscribe from this group

[Puppet Users] Upgrade from 2.7.20 to 2.7.22 breaks puppet-dashboard

2013-06-20 Thread Joe Benson
-server-2.7.22-1.el5 puppet-2.7.22-1.el5 puppet-dashboard-1.2.23-1.el5 If I back-rev puppet and puppet-server to 2.7.20 it works. Any Ideas? Thanks, Joe -- You received this message because you are subscribed to the Google Groups Puppet Users group. To unsubscribe from this group and stop

[Puppet Users] Re: How to make a package dependant on a class for the repository.

2013-06-20 Thread joe
Does your repos class have a bunch of classes included? If so, those are not caught by the require and you need to use the anchor pattern: http://projects.puppetlabs.com/projects/puppet/wiki/Anchor_Pattern The ordering (no matter how you do it) only orders the *resources* in that class. Not

[Puppet Users] Re: Not able to transfer the file puppet master to the client

2013-06-12 Thread joe
You don't import .conf files in your site.pp. Only .pp files. The fileserver config file is not valid puppet syntax. Puppet will find and use it on it's own. On Wednesday, June 12, 2013 7:50:12 AM UTC-6, Ramesh Mahimalur wrote: Hello, I have installed two VMs one for master and another for

[Puppet Users] Re: less drastic alternative to fail()?

2013-06-11 Thread joe
You can put the resources inside the class into a big if statement that checks the vars and does a notify if the class can't be applied. I've seen this in a few modules. On Tuesday, June 11, 2013 3:53:13 PM UTC-6, mpou...@afilias.info wrote: I have a few cases of error checking to make sure

[Puppet Users] pe_account user type setup

2013-06-07 Thread Joe Arnet
and groups.pp in /etc/puppetlabs/puppet/modules/site/manifests. I'm trying to do this in what I understand to be the namespace format, not yaml. I know the connection is valid between master - node as I've trialed out the motd module in a similar format. Any help would be appreciated. - Joe Arnet

[Puppet Users] Re: Status of bug #8040?

2013-06-05 Thread joe
Using anchors happens alot less than you think if you write minimal functionality into your subclasses. You don't put anchors in subclasses to anchor them to the parents. You may need anchors in subclasses if they include other classes whose resources need to be ordered, but this really

Re: [Puppet Users] Run a File resource only if another file is missing

2013-05-31 Thread joe
You should really reconsider how you are going about things and organizing your resources if you have to do stuff like this. Puppet was never meant to be reactionary in this sense. It's entire purpose is to define the state of the system and enforce that state, not to respond to the state of

Re: [Puppet Users] avoiding duplicate package definitions with stdlib's ensure_packages

2013-05-21 Thread Joe Topjian
@googlegroups.com. Visit this group at http://groups.google.com/group/puppet-users?hl=en. For more options, visit https://groups.google.com/groups/opt_out. -- Joe Topjian Systems Architect Cybera Inc. www.cybera.ca Cybera is a not-for-profit organization that works to spur and support

[Puppet Users] Re: Rhel based distro and multiple package version installed

2013-05-20 Thread joe
Please heed the advice of others concerning packaging. As to your require question, you can require a defined type just like any other resource: require = Tomcat::Home['6.0.37'] On Saturday, May 18, 2013 2:38:47 AM UTC-6, Luca Gervasi wrote: Hello, i'm starting using Puppet on my

[Puppet Users] Re: How to apply to all hosts with exception list.

2013-05-16 Thread joe
The easiest thing to do would to make a subclass called cups::enabled or similar and use an override: class cups::enabled inherits cups{ # The inherits is important Package['cups']{ ensure = 'present, } Add service and config file resources here } The problem with trying to use

[Puppet Users] Re: module dependancy

2013-05-15 Thread joe
In class myapp::install, just require the other class: require Class['pythonpip::install'] before the package statement. On Tuesday, May 14, 2013 12:36:22 PM UTC-6, Matt F wrote: I have two modules, and I'm having some dependacy problems: 1 - Install python pip: class pythonpip::install

Re: [Puppet Users] Running all apt source and update operations first, best practice.

2013-05-10 Thread joe
This can be achieved without stages if you put the relationship inside site.pp outside any class scope. On Friday, May 10, 2013 8:25:58 AM UTC-6, jcbollinger wrote: On Thursday, May 9, 2013 10:23:25 PM UTC-5, Nan Liu wrote: On Thu, May 9, 2013 at 11:52 AM, James Kyle li...@jameskyle.org

[Puppet Users] Re: RHEL patches broke my puppetd

2013-05-10 Thread joe
You should upgrade from 0.25.5. It is quite old and no longer supported. On Friday, May 10, 2013 2:17:00 PM UTC-6, dsdtas wrote: Earlier this week, I applied RHEL patches to a couple of dev server with puppet 0.25.5 and now I can no longer run puppetd commands without constantly getting the

[Puppet Users] Re: define and exported resources - giving wrong template content

2013-05-08 Thread joe
jcbollinger is correct. Templates are evaluated on the master in response to a catalog request. Any facter values used in the template will be the values from the host requesting the catalog. In your nagios module, you export the file resource (with it's contents) from the server with the

[Puppet Users] Re: Using Puppet to trigger a script when error occurs on log file

2013-05-07 Thread joe
This is not something puppet is intended to do. For one, puppet makes periodic runs and does not respond to changes on the system in realtime. So best case, your app would get restarted within 30 minutes (or whatever your runinterval is) of an error occuring, but not immediately upon that

[Puppet Users] Re: Puppet and internal modules...

2013-04-25 Thread joe
One thing you certainly need to do is define a clear line of what puppet will and will not do in your environment. Puppet is not well suited to code deployment. It is extremely good at maintaining the environment in which code runs. I would allow contributions from your dev team liberally, as

[Puppet Users] Re: puppet apache module dependency cycle

2013-04-24 Thread joe
Just declare or include apache without the chaining syntax. Should work fine. include apache class {'apache::mod::php': } On Wednesday, April 24, 2013 4:22:21 PM UTC-6, jmar...@gmail.com wrote: I am trying to use puppetlabs apache module on CentOS to install mod php package. class

[Puppet Users] Re: testing static manifests

2013-04-09 Thread joe
Testing of puppet manifests is done using rspec. http://rspec-puppet.com/ https://puppetlabs.com/blog/the-next-generation-of-puppet-module-testing/ On Tuesday, April 9, 2013 1:46:32 PM UTC-6, Bernardo Costa wrote: I would like to know how do people test a manifest that is basically static

[Puppet Users] Re: Managing Directory entries in httpd.conf with Puppet.

2013-04-03 Thread joe
Simple answer: don't. Use apache's conf.d construct to manage virtual hosts for each so they can contain their own config. See the puppetlabs apache module: https://github.com/puppetlabs/puppetlabs-apache On Wednesday, April 3, 2013 10:57:30 AM UTC-6, Cesar Covarrubias wrote: So I am working

Re: [Puppet Users] Inherit two classes?

2013-03-18 Thread joe
Better practice is to expose the functionality of those classes through defines or parameterized classes. For instance, use a define like apache::vhost in the puppetlabs/apache module: https://github.com/puppetlabs/puppetlabs-apache/blob/master/manifests/vhost.pp That way, all you have to do

[Puppet Users] Re: Installing a tarball using Puppet

2013-03-14 Thread joe
What llowder said. But he meant fpm, not fom: https://github.com/jordansissel/fpm On Thursday, March 14, 2013 3:40:20 PM UTC-6, llowder wrote: On Thursday, March 14, 2013 1:20:39 PM UTC-5, ridha gadhgadhi wrote: Hi all, I want to install opensaf from a tar file. Below, the content of my

[Puppet Users] Re: Difference between Topic and Queue in ActiveMQ?

2013-03-13 Thread joe
You should try asking the ActiveMQ community, not the puppet community. On Wednesday, March 13, 2013 3:33:35 AM UTC-6, snlsin...@gmail.com wrote: Hi all, I m not clear with ActiveMQ topic and queue? Please tell me how they work? Thanks in advance. -- You received this message

Re: [Puppet Users] Puppet and mobile OS

2013-03-13 Thread joe
The bigger issue here is that neither iphone nor android really *need* what puppet offers. In terms of deployment, there are already methods of doing such things (TouchDown comes to mind) that better reflect the model of the mobile OS. Most of the underlying tools used by the providers in

[Puppet Users] Re: Copying a 900 mb file to Windows !!!

2013-03-13 Thread joe
I wouldn't even do this with a file resource. I'd write a small script to pull it down from a web server and install it then have puppet run that as an exec. I'd also have the script remove the update when it's done since you probably don't want 900mb on disk for no reason. On Wednesday, March

[Puppet Users] Re: Only running database_grant the first time.

2013-03-12 Thread joe
refreshonly should be built in to all types. Did you actually try it, or did you just not see any docs saying it was there? On Tuesday, March 12, 2013 4:45:58 AM UTC-6, Stuart Grimshaw wrote: I'm using puppet through Vagrant to manage my dev VM, and as part of that I have a few database

[Puppet Users] Re: Restructure puppet modules

2013-03-11 Thread joe
Modules are not overkill and are, in fact, the only way you can do what you intend. There is currently no module structure that would allow you organize your manifests the way you'd like and still be able to apply classes flexibly. The reason for this is that the module structure in puppet is

[Puppet Users] Re: Organization of puppet classes

2013-03-11 Thread joe
You want roles and profiles: http://www.craigdunn.org/2012/05/239/ On Monday, March 11, 2013 6:02:15 PM UTC-6, Mike Reed wrote: Hello All, I've been looking for a simple way to clean up my nodes.pp file and I was hoping to get some suggestions from you folks. At the moment, I keep all my

Re: [Puppet Users] puppet module issue

2013-02-22 Thread joe
WIth the puppet module structure, you don't import any pp files from the modules ever. You only use include. If you look at the github for the module, it explains which classes do what. https://github.com/puppetlabs/puppetlabs-mysql The base class (mysql) only installs the client. mysql::server

[Puppet Users] Re: Checking GIT updates

2013-02-14 Thread joe
Puppet isn't particularly good at code deployment. Ideally, you'd package your code, set a package resource to ensure = latest, then update your package repo with the new code. Then, all the resources that subscribe to that package (services, etc.) would be refreshed when the package gets

[Puppet Users] Error: Could not find class class for host on node host

2013-02-11 Thread joe
The simple answer is to put include manifests/*.pp in your site.pp, but real answer to follow the module convention: http://docs.puppetlabs.com/puppet/2.7/reference/modules_fundamentals.html -- You received this message because you are subscribed to the Google Groups Puppet Users group. To

[Puppet Users] Re: puppet exported resources are not being realized

2013-02-08 Thread joe
I think your collector syntax is off. Try this: File | tag == 'tmp-file' | (note the fewer | characters) That should probably be a syntax error... On Friday, February 8, 2013 10:25:37 AM UTC-7, ashrith wrote: I am trying to export store config's using puppetdb as follows: node test {

[Puppet Users] Re: Best way for conditional dependency?

2013-02-05 Thread joe
If freeipa-client will be on all systems, just order it the other way. In the user module, make your class before freeipa-client. That way, the ordering is only in place when you include the user class. On Tuesday, February 5, 2013 11:21:30 AM UTC-7, Bret Wortman wrote: I have a situation

[Puppet Users] Re: Installing Operating systems

2013-02-04 Thread joe
Puppet doesn't do OS provisioning itself. You'd need a separate system to do that part, then hand off to puppet after a minimal install has been completed. You can use a tool like Foreman (http://theforeman.org/). It will handle the provisioning of the systems and also integrates with puppet

[Puppet Users] Re: Installing Operating systems

2013-02-04 Thread joe
There is also razor (https://puppetlabs.com/solutions/next-generation-provisioning/). It is only for provisioning (not assigning classes) and is the future of provisioning and puppet. On Monday, February 4, 2013 11:29:33 AM UTC-7, joe wrote: Puppet doesn't do OS provisioning itself. You'd

Re: [Puppet Users] Resource ordering problem...

2013-01-31 Thread joe
Nothing about your notify resources is actually telling you what's going on with the variables. Just because the details notify happens last, doesn't mean that the variable was evaluated at that time. Variable assignment is parse-order dependent. I'd look to make sure your custom function

[Puppet Users] Re: looping over directory array

2013-01-08 Thread joe
Create a defined type and call it with the array of app names: define app_dirs { file {/some/where/${title}/foo: mode = '0644' } file {/some/where/${title}/bar: mode = '0644', } } app_dirs { apps: } On Tuesday, January 8, 2013 12:18:49 PM UTC-7, Stefan Wiederoder wrote: I´ve

[Puppet Users] Re: looping over directory array

2013-01-08 Thread joe
Sorry, that should be app_dirs { $apps: } On Tuesday, January 8, 2013 12:59:49 PM UTC-7, joe wrote: Create a defined type and call it with the array of app names: define app_dirs { file {/some/where/${title}/foo: mode = '0644' } file {/some/where/${title}/bar: mode

[Puppet Users] Re: problem with restart a service when a file changes

2012-12-26 Thread joe
What it's telling you is that the command it's running (zmamavisdctl) is spitting out a return code of 1, which typically means that there was an error running the script. Either the command is actually failing, or the command is poorly written and does not provide the correct return code.

Re: [Puppet Users] How to only apply my manifests to certain classes?

2012-12-22 Thread joe
This is an excellent post on how to organize those types of dependencies. http://www.craigdunn.org/2012/05/239/ On Friday, December 21, 2012 4:10:45 AM UTC-7, Steve Button wrote: On Thursday, 20 December 2012 16:51:59 UTC, rvs wrote: On Thu, Dec 20, 2012 at 8:11 AM, Steve Button

Re: [Puppet Users] How to group hosts?

2012-12-14 Thread Joe Topjian
sense. I think the main one is when the built-in set of facts is not enough to properly categorize your nodes. In this case, you're correct -- add the facts at the time of provisioning. Then they will be available for the first Puppet run. Thanks, Joe -- Jakov Sosic www.srce.unizg.hr

Re: [Puppet Users] How to group hosts?

2012-12-06 Thread Joe Topjian
, Joe On Thu, Dec 6, 2012 at 10:27 AM, Jakov Sosic jso...@srce.hr wrote: Hi. I'm currently using hiera in a very rudimentary way, using only perhost and common. Now, I'm trying to group my hosts a little bit, so for example web servers could have their own yaml with data. Problem is I

[Puppet Users] Re: subscribe = Package

2012-11-27 Thread joe
Instead of subscribe = Package, it's require = Package['toola'] or similar. If you want to make sure all three packages are installed before the file, the best thing in this situation is to order the classes. Either in a separate module altogether or somewhere that makes sense for you

[Puppet Users] Re: Is it possible to run functions at run time ?

2012-11-27 Thread joe
What you should do instead is set the path based on the value of $myclass::provider. if $myclass::provider == 'package' { On Tuesday, November 27, 2012 3:58:05 PM UTC-7, Yanis Guenane wrote: *Specification* : my manifest look more like this class myclass ($provider = 'package') { case

[Puppet Users] Re: Is it possible to run functions at run time ?

2012-11-27 Thread joe
You should set the path based on the value of $myclass::provider: if $myclass::provider == 'package' { test = '/path/a' } else { test = '/path/b' } On Tuesday, November 27, 2012 3:58:05 PM UTC-7, Yanis Guenane wrote: *Specification* : my manifest look more like this class myclass

[Puppet Users] Re: new user - understanding arrays as variables in defined types

2012-11-20 Thread joe
Nothing wrong with that. It's a very common practice. One thing I would recommend is setting your array to a variable and passing that variable to the define. It just makes your code cleaner and easier to read: node 'mynode' { include firewall $sources = ['node1', 'node2']

[Puppet Users] Re: inconsistencies with arrays: want multiple requires

2012-11-19 Thread joe
I think you misunderstand what puppet is doing there. Variables are not a literal character replacement, they have types. I think what you want is require = Package[$pkglist] The [] in your variable assignment tells puppet it is an array. The [] in the Package example I provided tells puppet

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

2012-10-29 Thread joe dhonny
Hi Dave, Am 26.10.2012 20:50, schrieb Dave Mankoff: Interesting. It sounds like you're actually advocating _for_ the bash script approach. I wanted to avoid package management systems only because they are way more complicated than a basic install of python requires: wget python.tgz

Re: [Puppet Users] Disabling root user

2012-10-23 Thread joe dhonny
are not to let anyone login as root, unless you configured it otherwise. See the ubuntu server guide at https://help.ubuntu.com for details. hth, joe -- You received this message because you are subscribed to the Google Groups Puppet Users group. To post to this group, send email to puppet-users

Re: [Puppet Users] pocco - a puppet manifest documentation experiment

2012-10-19 Thread Joe Topjian
Hi Nan, Like everyone else, I think this is great. Run pocco against a modules directory: pocco /etc/puppet/modules/modulename Just a quick comment: Isn't pocco the name of the Python *occo? ( http://fitzgen.github.com/pocco/) should the name be changed to differentiate? Joe -- Joe

Re: [Puppet Users] Re: activerecord and puppet-3.0.0

2012-10-04 Thread Joe Hillenbrand
Installing 3.0.11 (and removing all the old versions manually, fucking ruby gems!) didn't help for me: ~$ sudo gem list *** LOCAL GEMS *** activemodel (3.0.11) activerecord (3.0.11) activesupport (3.0.11) arel (2.0.10) bigdecimal (1.1.0) builder (2.1.2) bundler (1.1.5) charlock_holmes (0.6.8)

Re: [Puppet Users] Re: activerecord and puppet-3.0.0

2012-10-03 Thread Joe Hillenbrand
btw, I'm running Ubuntu 10.04.1 -- You received this message because you are subscribed to the Google Groups Puppet Users group. To post to this group, send email to puppet-users@googlegroups.com. To unsubscribe from this group, send email to puppet-users+unsubscr...@googlegroups.com. For more

Re: [Puppet Users] Can puppet add repositories to nodes?

2012-09-17 Thread Joe Topjian
Hi Sandra, The Puppet Apt module should be of some use: http://puppetlabs.com/blog/module-of-the-week-puppetlabs-apt-pull-apt-strings-with-puppet/ Thanks, Joe On Mon, Sep 17, 2012 at 7:51 AM, Sandra Schlichting littlesandr...@gmail.com wrote: Hi all, I would like to add two repositories

Re: [Puppet Users] How to set DNS on Ubuntu 12.04 clients?

2012-09-11 Thread Joe Topjian
am not 100% confident of this solution, though, since I'm not sure if resolvconf will recreate the symlink at some point -- I haven't used this solution enough to confirm that. Thanks, Joe -- Joe Topjian Systems Administrator Cybera Inc. www.cybera.ca Big data is coming to Canada. Join

Re: [Puppet Users] How to set DNS on Ubuntu 12.04 clients?

2012-09-11 Thread Joe Topjian
if /etc/resolv.conf is a puppet maintained file, even if resolvconf package is updated, it will be replaced by the puppet asserted file anyway. Very true, but I would hate to have two services fighting with each other in that way. -- Joe Topjian Systems Administrator Cybera Inc

[Puppet Users] Re: Job Listing - Linux Admin in Boulder, CO

2012-08-17 Thread joe
If I lived on that side of town, I'd be interested, but where I live now that commute would be terrible. On Friday, August 17, 2012 3:13:54 PM UTC-6, guymatz wrote: It's not a telecommute position. No relocation possible. Sorry for having not been explicit about that. And sorry for not

Re: [Puppet Users] duplicate resources across defined types

2012-08-02 Thread Joe Topjian
, Joe -- Joe Topjian Systems Administrator Cybera Inc. www.cybera.ca Cybera is a not-for-profit organization that works to spur and support innovation, for the economic benefit of Alberta, through the use of cyberinfrastructure. -- You received this message because you are subscribed

Re: [Puppet Users] duplicate resources across defined types

2012-08-02 Thread Joe Topjian
I made a few inline comments Thank you. should be fixed in master. Yup, looks good. I will open a pull request for this. -- Joe Topjian Systems Administrator Cybera Inc. www.cybera.ca Cybera is a not-for-profit organization that works to spur and support innovation, for the economic

Re: [Puppet Users] duplicate resources across defined types

2012-08-01 Thread Joe Topjian
this and a virtual resource? Maybe I was under the wrong impression about virtual resources... I thought that they did this same thing. Thank you for your help and work with this! Joe -- Joe Topjian Systems Administrator Cybera Inc. www.cybera.ca Cybera is a not-for-profit organization that works

[Puppet Users] duplicate resources across defined types

2012-07-31 Thread Joe Topjian
/pull/37/files Here, on all but one of the vhost entries, you mark ensure_dirs as false and Puppet will not enforce the existence of the two directories. This works, but it comes off as a workaround more than a proper solution. Any ideas? Thanks, Joe -- Joe Topjian Systems Administrator Cybera

Re: [Puppet Users] Intermittent freeze on select when running standalone

2012-07-29 Thread Joe Topjian
. Just need to wait* for the 2.7.12 or later version of pupet to make it to the debian packages for Ubuntu then I should be able to test. It's very disappointing / frustrating that Ubuntu LTS stocks 2.7.11 by default. :/ Thanks, Joe -- Joe Topjian Systems Administrator Cybera Inc. www.cybera.ca

Re: [Puppet Users] Intermittent freeze on select when running standalone

2012-07-29 Thread Joe Topjian
there on out) or will have to put up with the bug mentioned in this thread as well as miss out on built-in puppet module support. All of which would not be necessary if 12.04 just shipped with 2.7.12+. The comment was more whining on my part. Thanks, Joe -- Joe Topjian Systems Administrator

Re: [Puppet Users] Intermittent freeze on select when running standalone

2012-07-26 Thread Joe Topjian
. Similarly, running strace on the process results in an infinite output of select. ctrl-c does not kill the process - I have to kill the PID from another terminal. I cannot reproduce this issue at will -- it seems to happen randomly. Thanks, Joe -- Joe Topjian Systems Administrator Cybera Inc

[Puppet Users] Facts of other nodes

2012-05-10 Thread Joe
result for db_host. I'm not exactly sure how to get around this. What's the best practice for this type of situation? Should I just hard-code the fqdn of my_mysql_server and be done with it? Or is there a more dynamic way to do this? Thanks, Joe -- You received this message because you

Re: [Puppet Users] Facts of other nodes

2012-05-10 Thread Joe Topjian
Hi Ohad, if you are interested in using foreman, see http://blog.theforeman.org/2012/01/getting-foreman-search-results-into.html I currently do not use foreman, but this is good incentive to look into it. Thank you very much. Joe -- Joe Topjian Systems Administrator Cybera Inc

Re: [Puppet Users] Re: Facts of other nodes

2012-05-10 Thread Joe Topjian
-in starting with the next major version of Puppet (Telly). Thank you for the options - it's appreciated. Joe -- Joe Topjian Systems Administrator Cybera Inc. www.cybera.ca Cybera is a not-for-profit organization that works to spur and support innovation, for the economic benefit of Alberta

  1   2   3   >