Hi, I'm gettinng a dependency cycle when using PE 2.7, puppetlabs::mrepo,
role classes and hiera :
I'm trying to mirror RHN repos :
# ROLE CLASS
class site::yum_repository{
$repos = hiera('site::yum_repository::repos')
create_resources(mrepo::repo::rhn, $repos)
}
# HIERA DEFAULTS
Correction, the class is the following :
class site::yum_repository{
class{'mrepo::params':
src_root = hiera('mrepo::params::src_root'),
www_root = hiera('mrepo::params::www_root'),
user = hiera('mrepo::params::user'),
group=
Hi,
first of all, thanks for your reply.
I've tried what you suggest, but now i'm receiving this message in every
file's evaluation:
err:
/Stage[main]/xxx::Website/x::Website_defs::Virtual_host[www.xxx.com.ve]/File[/etc/apache2/conf.d/vhostfake_www.xx.com.ve.conf]/content:
That commands were to delete the ssl dir. Really when i executed, puppet is
stoped.
I have been installed puppet by tarball, then I have a script to start
master and agent.
2013/1/23 Douglas Nethery douglas.neth...@aapt.com.au
Not at all! Thanks for your help.
End to end for anyone else with
On 24/01/13 04:28, kdo wrote:
what i thought would be a simple edit using augeas is turning out to not
be so straight forward, can anyone please help ?
the plan is to edit sendmail.cf and change the default DS to
DShostname.domain
class mail {
$key = DS
service {
Ok, this item is next on my hitlist...
I've been looking at the current oratab provider, and also the cron
provider, and in my mind it looks like parsed file should work...
Just need to get my head around it a bit more I think...
Any pointers greatly appreciated.
Cheers
Gavin
On
Not sure if it is the reason but making the change seems to fix it. Just
incase anyone else comes across this in the future.
The init.pp file calling the Pool's template
(https://github.com/puppetlabs/puppetlabs-dhcp/blob/master/tests/init.pp)
is passing a string not an array hence the
Seems that chaining exported resources might not be too efficient and
produces lots of data that could be the reason for puppetdb crashing.
The culprits being these two lines in two manifest files:
./nsca/server.pp: #File | tag == $get_tag | - Nagios_host | tag ==
$get_tag |
./nrpe/server.pp:
Alrighty, I didn't change a thing on my end but the problems seems to have
magically resolved itself this morning.
On Wednesday, January 23, 2013 5:19:34 PM UTC-5, Kristopher Spring wrote:
I'm getting these errors when trying to provision a Centos 6.3 box:
puppetlabs-products/primary_db
Hi Rakesh,
I just would like to know if the latest commits on GitHub have solved your
problem.
Best regards,
al
On Friday, January 18, 2013 12:39:47 PM UTC+1, Rakesh K wrote:
Hi,
I am a big fan of example42 modules and using most of them, currently I am
facing issues with the Jboss module
Hi,
Have you made any changes recently in last 2 days or so...
I haven't pulled the module after the netinstall fix you have done...
The init.d startup issue still persists.. rest all has been fixed.
Also there issues if unzip or wget are not installed on the client machine.
Thanks Regards,
err:
/Stage[main]/Jboss::Install/Puppi::Netinstall[netinstall_jboss]/Exec[Extract
jboss-as-distribution-6.1.0.Final.zip]/returns: change from notrun to 0
failed: sh: 1: unzip: not found
On Thu, Jan 24, 2013 at 7:06 PM, Rakesh Kathpal rkath...@gmail.com wrote:
Hi,
Have you made any changes
Yes, unzip would be installed by the Puppi module , but is not installed by
default by the puppi::netinstall define that is used by the jboss module.
It's a too generic dependency, imho, to be placed in a module.
Anyway thanks for the info.
I still have to look at the startup issue on some
I am doing something like that:
class users::userlist {
@users::virtual::localuser { ubuntu:
sshkey = {
'test_key' = { key = 'XX' },
'test_key2' = { key = 'YY'},
,}
groups = 'test_group',
}
}
All is good whenever I just
do
On Thursday, January 24, 2013 5:24:58 AM UTC-6, Daniel wrote:
Seems that chaining exported resources might not be too efficient and
produces lots of data that could be the reason for puppetdb crashing.
The culprits being these two lines in two manifest files:
./nsca/server.pp: #File | tag
On Thursday, January 24, 2013 4:20:27 AM UTC-6, MorSa wrote:
Hi,
first of all, thanks for your reply.
I've tried what you suggest, but now i'm receiving this message in every
file's evaluation:
err: /Stage[main]/xxx::Website/x::Website_defs::Virtual_host[
Hi all,
I'm a reasonably experienced puppet user but I'm running into a problem
with yumrepos where 'before' and 'require' don't seem to be behaving how I
expect.
class repos::atomic {
package { 'atomic-release':
ensure = installed,
source = '
On Thu, Jan 24, 2013 at 2:49 PM, jg4...@bristol.ac.uk wrote:
This occurs even with the before = Yumrepo['atomic'] and require =
Package['atomic-release'] lines in place, which is not what I expect. Am I
missing a subtlety?
I'd be tempted to remove the 'before' parameter to the package;
Its puppet 2.7.x latest, I chain resources like this:
node 'puppetmaster-client' {
include base::route53::r53server
$primary_fqdn = 'puppetmaster.foo.bar'
base::route53::r53delegation { [$primary_fqdn.,'xyz.foo.bar.']:
} -Class['base::route53::r53server']
}
Anyway,
On 24/01/13 15:18, Matthew Burgess wrote:
On Thu, Jan 24, 2013 at 2:49 PM, jg4...@bristol.ac.uk wrote:
This occurs even with the before = Yumrepo['atomic'] and require =
Package['atomic-release'] lines in place, which is not what I expect. Am I
missing a subtlety?
I'd be tempted to remove
On Thursday, January 24, 2013 4:08:21 AM UTC-6, Benoit BARTHELEMY wrote:
Correction, the class is the following :
class site::yum_repository{
class{'mrepo::params':
src_root = hiera('mrepo::params::src_root'),
www_root = hiera('mrepo::params::www_root'),
user
I think John is on to something here, Daniel - I haven't seen your
full content yet, but are you creating a file for each nagios_host, so
that you can use that as the 'target'? Thus creating a single file for
each nagios_host entry?
If this is the case, the John is spot-on ... and you're creating
On Thu, Jan 24, 2013 at 3:30 PM, Jonathan Gazeley
jonathan.gaze...@bristol.ac.uk wrote:
On 24/01/13 15:18, Matthew Burgess wrote:
On Thu, Jan 24, 2013 at 2:49 PM, jg4...@bristol.ac.uk wrote:
This occurs even with the before = Yumrepo['atomic'] and require =
Package['atomic-release'] lines
I thought that creates attribute of exec resource creates a file.
On windows, I have the following init.pp, jdk is correctly installed but
myfile2.txt is not created, did I miss something ?
class install_java_win {
file {'jdk-6u18-windows-i586.exe':
path=
On Wed, Jan 23, 2013 at 07:25:18AM -0800, Luke Kanies wrote:
Hi all,
I'm proud to announce that VMware has invested $30 million in Puppet Labs:
http://puppetlabs.com/blog/vmware-invests-30-million-in-puppet-labs/
This investment is about continuing to enable us to invest and grow,
Hello All,
I'm reviewing switching to puppet from chef and am trying to identify how
to port the various features.
I have hit a stumbling block searching for nodes. In Chef i could search
for a node by role, but I am lost as how to do this with puppet and classes.
Example:
I want my
Hi Bernard!
The creates attribute is a conditional for the exec run.
From http://docs.puppetlabs.com/references/latest/type.html#exec :
creates A file to look for before running the command. The command will
only run if the file *doesn’t exist.*
*
*
So it's actually looking for that file, and
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Hi Brian,
The use case you are describing lends itself toward making use of
stored configuration and exported resources.
http://docs.puppetlabs.com/guides/exported_resources.html
Just my two cents here. I've had some major problems in the past with using
puppet to manage a file installed by a package which is also managed by
puppet. Now, I haven't revisited the problem since 2.6, but my intuition
was that since the file to be managed didn't exist at the start of the
Hello Bill,
Thank you for the feedback. We are actually using haproxy, and will
undoubtedly use the stock book, it was just the example.
I guess I am confused as to the pattern. I have looked over the nagios
examples many times but I am still unsure. T
he final example would be how to
are we having problem with defines in puppet 3.0.1/3.0.2?
the more and more we use defines in our repo, the more lagish puppetmaster
becomes.
today i've made some synthetic checks with our lb setup, which consists of
121 defines, each of them wraps around 4 another defines (nagios, haproxy,
On Thursday, January 24, 2013 12:13:01 PM UTC-6, Brian Malinconico wrote:
Hello Bill,
Thank you for the feedback. We are actually using haproxy, and will
undoubtedly use the stock book, it was just the example.
I guess I am confused as to the pattern. I have looked over the nagios
On Jan 24, 2013, at 9:22 AM, Nikola Petrov nikol...@gmail.com wrote:
On Wed, Jan 23, 2013 at 07:25:18AM -0800, Luke Kanies wrote:
Hi all,
I'm proud to announce that VMware has invested $30 million in Puppet Labs:
http://puppetlabs.com/blog/vmware-invests-30-million-in-puppet-labs/
This
On Thu, Jan 24, 2013 at 12:13 PM, Brian Malinconico arjes...@gmail.comwrote:
Thank you for the feedback. We are actually using haproxy, and will
undoubtedly use the stock book, it was just the example.
I guess I am confused as to the pattern. I have looked over the nagios
examples many times
On Thursday, January 24, 2013 12:11:45 PM UTC-6, Ellison Marks wrote:
Just my two cents here. I've had some major problems in the past with
using puppet to manage a file installed by a package which is also managed
by puppet. Now, I haven't revisited the problem since 2.6, but my intuition
On Thursday, January 24, 2013 9:20:23 AM UTC-6, MCZ wrote:
Its puppet 2.7.x latest, I chain resources like this:
node 'puppetmaster-client' {
include base::route53::r53server
$primary_fqdn = 'puppetmaster.foo.bar'
base::route53::r53delegation {
Hi Benoit,
I'm the author of the puppetlabs-mrepo module, what version of this module
are you using?
On Thursday, January 24, 2013 12:16:05 AM UTC-8, Benoit BARTHELEMY wrote:
Hi, I'm gettinng a dependency cycle when using PE 2.7, puppetlabs::mrepo,
role classes and hiera :
I'm trying to
Again with the yum metadata checksum failures:
http://yum.puppetlabs.com/el/6/products/x86_64/repodata/primary.sqlite.bz2:
[Errno -1] Metadata file does not match checksum
I'm thinking it's time for me to add the Puppetlabs repos to my mrepo box.
--
\*..+.-
--Greg Chavez
+//..;};
--
You
Here is a good start:
http://projects.puppetlabs.com/projects/1/wiki/using_passenger
Also the book, Pro Puppet, covers this in detail.
--
You received this message because you are subscribed to the Google Groups
Puppet Users group.
To view this discussion on the web visit
I work on the Pulp Project (http://www.pulpproject.org/), and we are trying
to fully implement the forge API so we can create new repositories that can
be reached via a command like:
$ sudo puppet module install --module_repository
http://localhost/pulp/puppet/myforge/ someone/theirmodule
The
PuppetDB 1.1.0 is now available for download! This is a backward
compatible feature release of PuppetDB.
# Downloads
==
Available in native package format at:
http://yum.puppetlabs.com and http://apt.puppetlabs.com
Puppet module:
http://forge.puppetlabs.com/puppetlabs/puppetdb
Hi All,
I have finally switched to using hiera (worthy goal!) and I am looking for
a flexible way to manage the 'exclude' line in /etc/yum.conf.
I want to be able to specify from different classes RPMs to be excluded in
/etc/yum.conf, then build the exclude line from all those classes that set
Hi Michael,
Thanks for the work you're doing. I got to play with Pulp v2 last night and
really like the progress you guys have made. A few more comments are
in-line.
On Thu, Jan 24, 2013 at 2:49 PM, Michael Hrivnak mhriv...@hrivnak.orgwrote:
I work on the Pulp Project
Ah, excuse me, I misremembered. The problem was specific to the interaction
between package and yumrepo, not package and file. See
http://projects.puppetlabs.com/issues/1238.
On Thursday, January 24, 2013 12:15:33 PM UTC-8, jcbollinger wrote:
On Thursday, January 24, 2013 12:11:45 PM UTC-6,
I'm looking for a way to parameterize the module path at runtime based on
multiple variables, including the environment. We've got a puppet master that
serves nodes from several different projects, each of which have their own
dev/test/prod environments. I'd like for each project to have
On 24 January 2013 06:20, Dan White y...@comcast.net wrote:
It just struck me that any environment blocks in /etc/puppet/puppet.conf
have meaning ONLY on the puppet master.
Is that accurate ?
Pretty much.
I am reasonably sure the only thing you can put in there is manifest and
module paths.
On Jan 21, 2013 1:32 AM, Anadi Misra anadi@gmail.com wrote:
hi! all,
the following regex fails for a mount point definition
[palms]
path /apps/puppet/projects/palms/%h
allow /^bangvmplmpalm([0-1][0-4,9]).example.com$/
The allow directive uses wildcards, not regular expressions:
On 10 January 2013 02:41, Gavin Williams fatmc...@gmail.com wrote:
Anyone got any ideas???
My next thought is to use something like puppet-concat with an ERB
template... However not sure how effective that's going to be...
That would probably be pretty easy to setup.
I use concat and
Probably because you deleted the log directory rails is trying to write to.
Try creating that again and see if that helps.
On 24 January 2013 23:20, Mamta Garg itsmamta.b...@gmail.com wrote:
Hi
Need help!
Actually i have setup number of clients over linux CentOS master provided
by puppet
Hi,
Can anyone please tell me regarding below-
I have setup CentOS Linux master with 10 windows agent.
Now my all Agents nodes are showing 'Unresponsive' on puppet dashboard.
Please tell me how i can make it responsive?
--
Thanks and Regards,
Mamta Garg
--
You received this message because
50 matches
Mail list logo