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 m
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 “ puppet” >> /etc/hosts*
*
*
For example:*
*
# echo "10.0.67.1 puppet" >> /etc/hosts
If you
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.
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
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 vagrant
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 mo
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
appear
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 an
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 b
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 <
> jbo...@gmail.com > wro
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 bunc
Hello,
I would like to use files outside my module, their paths are given as
parameters of my openldap class, but I have some issues
Issue for files:
In my openldap module, I would like to permit the addition of custom
schemas without modifying the module. These schemas are files. The idea I
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, 陈士超 wrote:
> i do like this:
> service{
> "lighttpd":
> hasrestart => true,
> hasstatus => true,
> restart => "/sbin/se
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 thi
On 08/06/2012 08:03 PM, Aaron Masino wrote:
1. Install libshadow at the command line and then run my puppet script
$sudo apt-get update
$sudo apt-get install libshadow-ruby1.8
$puppet apply myuserscript
2. Install libshadow as part of my manifest setup. The relevant code
Does the approach 1 wo
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 g
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 puppet-users+unsubscr...@googlegroups.
On Wed, 13 Mar 2013 09:00:18 -0700 (PDT)
jcbollinger 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
> is, then those should
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:
>
>
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
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 &&
servic
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
key,
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
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
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 patter
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 f
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 othe
On Thursday, March 14, 2013 5:28:49 PM UTC-5, joe wrote:
>
> What llowder said. But he meant fpm, not fom:
>
> https://github.com/jordansissel/fpm
>
>
Indeed, sorry about that. Too much blood in the caffeine stream as I typed.
> On Thursday, March 14, 2013 3:40:20 PM UTC-6, llowder wrote:
>>
>
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 p
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
manifests
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 installation.
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
Thanks Pete! Do you think you can possibly put together a lines of example code?
Just wondering, if it's possible/easier with Ruby DSL? I haven't tried that
yet. Cheers!!
--
You received this message because you are subscribed to the Google Groups
"Puppet Users" group.
To unsubscribe from this
i do like this:
service{
"lighttpd":
hasrestart => true,
hasstatus => true,
restart => "/sbin/service lighttpd restart",
}
But it dose not work
--
You received this message because you are subscribed to the Google Groups
"Puppet Users" group.
To unsubscribe from this group and stop receiving em
34 matches
Mail list logo