Re: [Puppet Users] Re: Windows Remote Desktop Services (Could not find a suitable provider for dism)

2013-03-15 Thread Vladimir Rutsky
Hello, James! On Thu, Mar 14, 2013 at 6:08 PM, jim stra...@gmail.com wrote: Hiya Vladimir I think the issue is, if we remove Puppet and DISM and go back to Windows Remote Desktop Services, also known as Terminal Server. When you install this feature, it requires a reboot for this feature

Re: [Puppet Users] Help me wrap my head around Yaml/Hiera with erwbgy/system

2013-03-15 Thread Keith Burdis
Hi Byron, Some suggestions: 1) Hiera comes with a handy command-line tool to query your config so try using that first. What does running: # hiera -h system::augeas return? If it returns the ntp hash then your hiera config is good. 2) If not, are /etc/hiera.yaml and /etc/puppet/hiera.yaml

[Puppet Users] Host name lookup failure

2013-03-15 Thread yarlagadda ramya
Hi all, I installed puppet agent in one ip in linux..and am trying to connect to master while installing only..agent is getting installed but its giving host name look up failure.. But i specified the correct host name only for the master for which it needs to be connected during

Re: [Puppet Users] Re: Help me wrap my head around Yaml/Hiera with erwbgy/system

2013-03-15 Thread Keith Burdis
The great thing about Puppet is that it gives you lots of different ways to manage your host data. Personally I am a big fan of hiera and its YAML backend because it is simple for non-Puppet users to understand and allows them to manage the config without having to write or modify Puppet

[Puppet Users] Puppetlabs forge modules

2013-03-15 Thread Thomas Bendler
Hi @all, what is the standard communication method for reporting bugs, enhancements, ... for forge modules. I saw i.e., that the nodejs module support RedHat but not Scientific Linux which is only a matter of the selector. So I tried to report this but the issue link is dead. Any hints on how to

Re: [Puppet Users] Help me wrap my head around Yaml/Hiera with erwbgy/system

2013-03-15 Thread Byron Miller
Great info Keith, thanks for replying. I'll use this to continue seeing if I can make it work on our systems here. What i'd like to do is have something that supports a tiered implementation of a base install, then an app server config for app servers, database for database server and

Re: [Puppet Users] Puppetlabs forge modules

2013-03-15 Thread Ryan Coleman
Hi Thomas, When GitHub issues are not active for a particular module, you can file tickets in the general module project in our Redmine site. http://projects.puppetlabs.com/projects/module-site/issues Thanks for reporting the broken link. I'll get that fixed and we'll likely switch to GH issues

[Puppet Users] Re: Need help with apt::source and stages

2013-03-15 Thread Cosmin Luță
The apt code I'm using is from https://github.com/puppetlabs/puppetlabs-apt , commit-id e01bbb61b294be1358b147e8de4966d5f4c6efda . I've read http://projects.puppetlabs.com/issues/8263 's comments, so the anchor pattern should take care of it ? But the apt module I have is using that

[Puppet Users] Re: hiera_hash lookups for included classes?

2013-03-15 Thread jcbollinger
On Thursday, March 14, 2013 3:39:41 PM UTC-5, Ellison Marks wrote: I'm pretty sure it does do merging, in the yaml backend at least. case resolution_type ... when :hash raise Exception, Hiera type mismatch: expected Hash and got #{new_answer.class} unless new_answer.kind_of?

[Puppet Users] Re: PuppetDB Constraint error

2013-03-15 Thread jcbollinger
On Thursday, March 14, 2013 4:51:25 PM UTC-5, Ken Barber wrote: Hey all, I'm hoping I can get some information from other users on the list in relationship ak0ska's problem listed below. I thought I would start a new thread so more users would see this message and not loose it in the

[Puppet Users] Re: hiera_hash lookups for included classes?

2013-03-15 Thread Ellison Marks
The difference between array and hash resolution makes sense, from a certain perspective. As an array is fine with holding duplicate values, it just gets all the data and flattens it down, but since a hash needs unique keys, to return a fairly flat hash, it can only take one value for each

[Puppet Users] Re: how puppet restart a service

2013-03-15 Thread Ellison Marks
You don't need the restart command there. When you say hasrestart = true, you're telling puppet that the init script has a restart command, so it's going to call /sbin/service lighttpd restart anyway. If you say hasrestart = false, the default is to do a service lighttpd stop service lighttpd

Re: [Puppet Users] Re: Installing a tarball using Puppet

2013-03-15 Thread Len Rugen
For example: file {/usr/local/src/suphp-0.7.1.tar.gz: owner = root, group = root, mode= 0775, ensure = present, source = puppet:///modules/lamp/suphp-0.7.1.tar.gz, notify =

[Puppet Users] Re: Installing a tarball using Puppet

2013-03-15 Thread ridha gadhgadhi
Thank you very much to everyone. It is very useful. Sincerely, - Ridha On Thursday, March 14, 2013 2:20:39 PM UTC-4, ridha gadhgadhi wrote: Hi all, I want to install opensaf from a tar file. Below, the content of my script shell:

Re: [Puppet Users] Re: Custom ensure instead of ensurable in type provider

2013-03-15 Thread Stefan Schulte
On Wed, 13 Mar 2013 09:00:18 -0700 (PDT) jcbollinger john.bollin...@stjude.org wrote: Your problem is that you are conflating distinct (for your purposes) aspects of your resource's state. If you care at times whether the variable is declared at all or not, and at other times what its value

Re: [Puppet Users] Re: Custom ensure instead of ensurable in type provider

2013-03-15 Thread Rich Siegel
Can you publish your work on github. I might be able to help it along. -- 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

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

2013-03-15 Thread Rich Siegel
exec { 'dlfile': command = '. X:\tools\Get-WebFile.ps1 ; get-webfile http://myurl.com/file.zip c:\file.zip', provider = powershell } I am using the poweshell provider by Josh Cooper and get-webfile is on http://poshcode.com/3920 Tweak line 134 from 4096 to 1048576 to make it go

Re: [Puppet Users] how puppet restart a service

2013-03-15 Thread 尹川51web
you could try exec type, http://docs.puppetlabs.com/references/2.7.latest/type.html#exec or MColletive http://docs.puppetlabs.com/mcollective On Fri, Mar 15, 2013 at 3:06 PM, 陈士超 cschy2...@gmail.com wrote: i do like this: service{ lighttpd: hasrestart = true, hasstatus = true, restart =

[Puppet Users] Using custom facts in reports

2013-03-15 Thread KT
Hello, I am trying to utilize custom facts in a puppet report but can't seem to find a way of doing it. As far as I know, there isn't a built in way to access custom facts inside a report but I also haven't been able to find any workarounds either. Does anyone know if there is a way of doing

[Puppet Users] One Dashboard for Multiple Masters

2013-03-15 Thread Nathan Long
I'm trying to connect multiple masters to one dashboard and I'm having trouble with Facter. I started out initially with one master connected to the dashboard and that one works perfectly fine. Then I added a second master by setting the reporturl to point to the dashboard. The new nodes

[Puppet Users] Installing puppet modules

2013-03-15 Thread Mike Power
I want to setup a node using a three step process 1) download node requirements (git) 2) download modules to fit requirements (puppet) 3) Bring up the node in the required state (puppet) The second step is the one I am having trouble with. I want a file (master.pp) to list out all the modules

[Puppet Users] advice on module organization

2013-03-15 Thread supertom
Hi Folks, Like to get some advice on module organization. I have a system that has a few different components. One or more components can be installed on a host. The hosts also have a type dimension. This type dimension could (should) ideally be used to configure the system (fill in a

[Puppet Users] Installing module of the correct version

2013-03-15 Thread Mike Power
I want to install a module into the modulepath. I can provide either a http url to a tar that contains the modules (like puppetforge but the path is not as structured) or I could provide a git url and path under that url where the module is. I want to first run puppet standalone on the

[Puppet Users] run puppet master with apache , why no module include in catalog ?

2013-03-15 Thread 朱秀龙
First I run puppet master with default webserver webrick, and it work well, I have a test module, and when I make any changes to this module, when executing puppet agent the system can make corresponding changes. But when I migrate puppet master from webrick to apache, after changing the test

Re: [Puppet Users] ldapmodfiy via exec

2013-03-15 Thread geoff
For followers of this thread, I've started to create a puppet ldap dn resource which might help here: https://github.com/gtmtechltd/puppet_ldapdn On Thursday, November 13, 2008 5:41:14 PM UTC, Russell Miller wrote: On Thu, Nov 13, 2008 at 8:55 AM, jbo...@gmail.com javascript:

[Puppet Users] Advice on module organization

2013-03-15 Thread Tom Melendez
Hi Folks, Like to get some advice on module organization. I have a system that has a few different components. One or more components can be installed on a host. The hosts also have a type dimension. This type dimension could (should) ideally be used to configure the system (fill in a bunch

Re: [Puppet Users] issue while installing puppet

2013-03-15 Thread Dan White
The referenced issue enables the puppetlabs-devel repo for installation. Did you try that ? The “libaugeas.so...” comes from an RPM named augeas-libs What does the command “yum list augeas-libs” return ? rubygems (and the RPM of the same name) comes, I believe, from EPEL. It sounds ike you do

Re: [Puppet Users] how puppet restart a service

2013-03-15 Thread Dan White
Try this: service { lighttpd: ensure = running, enable = true, hasrestart = true, hasstatus = true, restart= /sbin/service lighttpd restart, } The “enable” parameter enables the service to start at boot. The “ensure” parameter ensures the service is running. On Mar

Re: [Puppet Users] Host name lookup failure

2013-03-15 Thread Keith Burdis
The Puppet agent tries to connect to the master using the hostname 'puppet' by default so one solution may be to add an /etc/hosts entry for 'puppet' with the correct IP for your Puppet master: * # echo “your puppet master ip puppet” /etc/hosts* * * For example:* * # echo 10.0.67.1 puppet

[Puppet Users] Re: Installing puppet modules

2013-03-15 Thread Ellison Marks
Unless you're using puppet apply, you don't download modules to the individual nodes, you download them to your master. The master uses the modules to compile a catalog which it then ships off to a node. Or in other words, I'm not sure what your question is. Why do your nodes need to download