On Wed, Nov 7, 2012 at 9:51 PM, Asif Iqbal wrote:
>
>
>
> On Wed, Nov 7, 2012 at 4:18 PM, Jeff McCune wrote:
>
>> On Tue, Nov 6, 2012 at 7:08 PM, Asif Iqbal wrote:
>>
>>> I did some clean up. Now I have only one version of puppet and facter.
>>
>>
>> It still seems like you could have stale fil
On Wed, Nov 7, 2012 at 4:18 PM, Jeff McCune wrote:
> On Tue, Nov 6, 2012 at 7:08 PM, Asif Iqbal wrote:
>
>> I did some clean up. Now I have only one version of puppet and facter.
>
>
> It still seems like you could have stale files.
>
> Could you verify there are no stale files by pasting the ou
Please disregard the original post. I found the issue.
I had the following incorrect require line in the link resource:
require => [Mount["/mnt/${site_name}"],
File["/var/www/${site_name}/${drupal_shared_reldir}"]],
It should be
require => Mount["/mnt/${site_name}"],
Cheers,
Justin
On Wednesday, November 7, 2012 8:17:50 AM UTC-6, j4m3s wrote:
>
> Thank you very much Matt. My searches hadn't turned that up - I was
> searching on keywords relating to templates I think.
>
> Thanks again, James.
>
>
Do note that the reason that approach can work for cron jobs and hosts
entri
Hi John
Thanks, that will solve my immediate requirement. Trying to keep it as
puppet DSL and simple as possible. However, I will check out the
create_resources() function further. Thanks for the pointers.
--
You received this message because you are subscribed to the Google Groups
"Puppet
I'm seeing a strange issue with symlinks in Puppet 2.7.19.
File {
ensure => directory,
owner=> apache,
group=> apache,
}
file { "/mnt/${site_name}":
mode => 0660,
}
mount { "/mnt/${site_name}":
ensure => mounted,
atboot => true,
devic
On Wednesday, November 7, 2012 3:15:15 PM UTC-6, earthgecko wrote:
>
> Hi
>
> I am sure that there is some way to iterate an array and do something for
> each in. It must be a wheel that has been invented (even if in a ruby
> function)?
>
> I have needed to do something like this a few times n
This example *may* be able to get me though this:
file{"/tmp/file1": content=>"file1"} ~> exec{ "/bin/false": refreshonly =>
true, notify => Exec["file2"]} -> exec {"file2": command => "touch
/tmp/file2", refreshonly => true }
of course I'll have to create the file though the file2 exec inste
Puppet Dashboard 1.2.14 is a bugfix release of Puppet Dashboard.
This release is available for download at:
https://downloads.puppetlabs.com/dashboard/puppet-dashboard-1.2.14.tar.gz
Debian packages are available at https://apt.puppetlabs.com
RPM packages are available at https://yum.puppetlabs.c
Hi,
Not from within puppet but there are external ways (ssh, MCollective ). From
them you can schedule action.
You can run puppet again (as compilation is done on the master not the client).
The facts are sent to the master at the start of the run and puppet can't do
anything with them midstre
>>
>>
>> Except my resource is a File and not an Exec. refreshonly is invalid
>> for a File afik. Are there alternatives you may suggest to
>> accomplish the same?
>
> I believe this is http://projects.puppetlabs.com/issues/5876 in action :(
>
Bummer! Especially since I added a me-too to that
- Original Message -
> From: "Chris Hirsch"
> To: puppet-users@googlegroups.com
> Sent: Wednesday, November 7, 2012 9:18:15 PM
> Subject: Re: [Puppet Users] Puppet creates a file even though an exec fails
>
>
> Except my resource is a File and not an Exec. refreshonly is invalid
> for
Apologies
app::thing { 'foo':
config_templates = ['foo.conf', 'foo.more.conf']
}
--
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/-/tsXtAlEp-8sJ.
To post to
On Tue, Nov 6, 2012 at 7:08 PM, Asif Iqbal wrote:
> I did some clean up. Now I have only one version of puppet and facter.
It still seems like you could have stale files.
Could you verify there are no stale files by pasting the output of this
command?
ruby -r puppet -e 'puts %w{ puppet facter
Except my resource is a File and not an Exec. refreshonly is invalid for a File
afik. Are there alternatives you may suggest to accomplish the same?
> You want "refreshonly => true" on file2, as well.
>
> On Nov 7, 2012, at 3:56 PM, Chris Hirsch wrote:
>
>> Hi all,
>>
>> I'm trying to figur
Hi
I am sure that there is some way to iterate an array and do something for
each in. It must be a wheel that has been invented (even if in a ruby
function)?
I have needed to do something like this a few times now and I reckon
someone clever has already done it :)
Using a normal bash type fo
You want "refreshonly => true" on file2, as well.
On Nov 7, 2012, at 3:56 PM, Chris Hirsch wrote:
> Hi all,
>
> I'm trying to figure out if my expectations are correct for this class.
> Basically I'd like to have file1 created and then run an exec. If that exec
> should fail file2 should NOT
Hi all,
I'm trying to figure out if my expectations are correct for this class.
Basically I'd like to have file1 created and then run an exec. If that exec
should fail file2 should NOT be created.
Currently as you can see from the below output, the refresh failed yet file2
was still created.
Matthaus,
I also noticed the following messages with the 1.2.13 db:migrate rake task,
haven't seem them before;
# rake db:migrate RAILS_ENV=production
config.gem: Unpacked gem rspec-1.3.2 in vendor/gems has no specification
file. Run 'rake gems:refresh_specs' to fix this.
config.gem: Unpacked g
Thanks John for your very interesting reply.
On Tuesday, November 6, 2012 4:13:03 PM UTC-5, jcbollinger wrote:
>
>
>
> On Tuesday, November 6, 2012 11:04:46 AM UTC-6, Bruno Leon wrote:
>>
>> Hello,
>>
>> since Puppet 3 hiera is doing auto variable lookup for classes, which in
>> my
>> view mak
On Tuesday, November 6, 2012 2:44:25 PM UTC-8, Forrie wrote:
>
>
> path ~ ^/file_(metadata|content)/files/etc/
> path /file
> auth yes
> allow /^(.+\.)?ourdomain.com$/
> allow_ip 10.0.0.0/8
>
>
This path is still wrong. The path in auth.conf needs to refer to the
LOGICAL path that you set up wi
On Tuesday, November 6, 2012 2:22:25 PM UTC-8, Josh Cooper wrote:
>
>
> > That said, would it perhaps be worth putting a note/warning in the
> > documentation for managehome that it will delete the user's home
> > directory and any data therein? The removal is mentioned under the
> > 'Feature
You are going to probably need something along the lines of
context => '/files/etc/hosts.allow'
changes => [
'ins 01 after *[last()]',
'set 01/process[1] ssh',
'set 01/process[2] ssh2',
'set 01/client ipaddr'
]
onlyif => 'match *[process[1] == 'ssh' and 'client' == 'ipaddr'] size == 0'
yo
Stefan,
Thanks for catching that. A recent change to our packaging workflow
unintentionally stopped empty directories from getting included in the
tarballs. We've since reverted that change, and a new release of
Dashboard will be forthcoming with an updated tarball, complete with
tmp dir..
On Wed,
:( Seems to be one step forward and two steps back atm...
Following the successful creation and deletion of NetApp filer volumes
using puppet earlier in the day, I added the required provider and type to
support qtree creation and deletion...
However since then, I haven't been able to create
Hi,
Just updated from 1.2.11 to 1.2.13 with the tarball (
http://downloads.puppetlabs.com/dashboard/puppet-dashboard-1.2.13.tar.gz)
Starting puppet-dashboard-workers it gives the following message;
# service puppet-dashboard-workers start
Starting puppet-dashboard-workers:
/opt/puppet-dashboa
On 06/11/12 22:31, Jakov Sosic wrote:
> Hi
>
> I want to modify one of the existing lenses to better suit my needs, but
> I don't know where to put it on the filesystem?
>
> It seems wrong to overwrite file in /usr/share/augeas/lenses/dist or to
> rebuild augeas-libs, is there any other way to di
Thanks for the info, Greg and Walter. I missed that announcement. We can
keep using the current Dashboard until something else comes along. I have
no problems with the parts that we use.
The deprecation actually makes sense, now that I read it. I was never happy
with the ENC functionality, which i
The open source dashboard is being deprecated indeed, as announced on this
list by puppet Labs last month.
The enterprise dashboard is a different story.
Over time there will be a replacement for the open source dashboard, but it
might be a while and it might not be a one to one replacement.
Be a
Hello,
my module is now available from puppet forge too, thanks for your
suggestion: http://forge.puppetlabs.com/hetzeneckerl/ssh_authorized_key
However, I'm still having one problem developing this module:
On *every* run I get some of these messages:
/Stage[main]/Ssh::Hetzeneckerl/Ssh[long_ss
Thank you very much Matt. My searches hadn't turned that up - I was
searching on keywords relating to templates I think.
Thanks again, James.
On Wednesday, November 7, 2012 2:12:27 PM UTC, Matthew Burgess wrote:
>
> On Wed, Nov 7, 2012 at 2:00 PM, j4m3s >
> wrote:
> > I have noticed that if I
On Wed, Nov 7, 2012 at 2:00 PM, j4m3s wrote:
> I have noticed that if I create a hosts file entry using the host {} type, a
> header is added to teh top of the file showing when it was last updated.
> I'm wondering if it is possible something similar in a template? Calling
> <%= Time.now().to_s()
Hi,
I just made a custom fact to display a status about mysql.
The fact variable is 'foo'.
In a module I test this fact variable to apply or not a ressource :
class bar {
if $::foo == 'toto' {
notice("Execute ressource")
# Reload fact variable ?
if $::foo == 'toto' {
I have noticed that if I create a hosts file entry using the host {} type,
a header is added to teh top of the file showing when it was last updated.
I'm wondering if it is possible something similar in a template? Calling
<%= Time.now().to_s() %> inside the template (obviously) causes the fil
On Wednesday, November 7, 2012 5:34:16 AM UTC-6, John Macleod wrote:
>
> What I am looking to do is use Puppet to automatically sync a handful of
> application configuration files between distributed servers, and bounce
> (reload) the applicable service.
>
> Forgive me for asking a question tha
The Puppet cookbook is always a good starting point: http://puppetcookbook.com/.
And for your particular problem this is the real world example:
http://puppetcookbook.com/posts/restart-a-service-when-a-file-changes.html
Bernd
From: puppet-users@googlegroups.com [mailto:puppet-users@googlegroups
Quick update... It looks like all that was needed to resolve the below was
a puppetmaster restart.
Have successfully managed to create a new volume on the NetApp filer using
puppet :) :D
Now to plough on with adding support for the rest of the bits we need :)
Cheers
Gavin
On Tuesday, 6 Nov
Hmm... It seems that all that was needed was a Puppetmaster restart :s
Now happily creating volumes...
Cheers
Gavin
On Wednesday, 7 November 2012 10:46:55 UTC, Gavin Williams wrote:
>
> Hi All
>
> As per my various other Posts, I'm writing a customer type and provider
> set for NetApp support
I have also posted this q at
SO:
http://stackoverflow.com/questions/13268846/how-to-configure-puppet-so-that-it-installs-yum-repos-with-debug-mode
Quote:
When i run *puppet apply*, it tries to install packages using the following
command:
/usr/bin/yum -d 0 -e 0 -y install couchdb-1.2.0-7.el6
What I am looking to do is use Puppet to automatically sync a handful of
application configuration files between distributed servers, and bounce
(reload) the applicable service.
Forgive me for asking a question that is covered somewhere, however I did
my best homework on the topic and found num
This post to the list concerns PuppetLabs ceasing development on Dashboard
-
https://groups.google.com/forum/#!msg/puppet-users/j44EbTJY7HI/EQSJgh-g1fgJ
A few people have expressed interest in taking Dashboard on, but I've seen
no announcement that this has officially happened. Perhaps I missed it
Hi All
As per my various other Posts, I'm writing a customer type and provider set
for NetApp support..
My current problem is that the 'puppet device -v' run keeps failing with:
Error: Could not retrieve catalog from remote server: Error 400 on SERVER:
> Invalid parameter aggregate at /etc/pu
Budicom
I had the same problem with JBoss, and (following advice I read on this
group) looked into creating my own deb. It turned out to be amazingly
straightforward using a bit of software that's been discussed on here
before (fpm: https://github.com/jordansissel/fpm).
I now have my own deb i
We're still just getting familiar with PuppetDB, so at this point it's too
early to say how fine grained we need this feature to be. We've already set
up a proxy (as you recommended) and this solution suites us for now.
On Friday, October 26, 2012 8:56:26 PM UTC+2, Nick Lewis wrote:
>
> On Frida
44 matches
Mail list logo