Thanks for the suggestions... so now we have:
class {'test':
tport => ['1700', '1701'],
}
class test ($tport) {
fwport{"spoo": fport => $tport, }
}
define fwport ($fport) {
augeas{$fport:
context => "/files/etc/sysconfig/iptables/table",
changes => ['ins append before append[.="IN
That worked, thanks a lot.
El viernes, 25 de mayo de 2012 16:49:30 UTC+2, Jeff McCune escribió:
>
> On Fri, May 25, 2012 at 5:43 AM, jcbollinger wrote:
>
>>
>> On May 25, 3:58 am, tiochan wrote:
>>
>> This stanza:
>>
>> > file { 'C:\\SOFTWARE\\7z920.msi':
>> > source => 'puppet://pup
Hi,
[snip]
Very interesting that you should say that you created a Puppet master for
> each environment ... it's the obvious way to accommodate the limits of RPM
> packaging while retaining the ability to use Puppet in full agent mode.
>
> Is this considered a best practice? What other considerat
Hi all,
I have this problem I can't figure out. I have a very simple define to
deploy SSH keys to certain LDAP users:
define sshkeys::install () {
file{"/home/${title}":
ensure => directory,
owner => "${title}",
group => "ldapgroup",
}
}
which I then call using:
Hi Steve,
I believe he meant that you pass your array directly to the defined type:
> class test ($tport) {
> fwport{ $fport: }
> }
> define fwport {
> $fport = $name
> augeas{$fport:
> context => "/files/etc/sysconfig/iptables/table",
I hope that gives you the idea.
Regards,
Den
I am setting up a new workflow myself, it will be as follows:
One git repo for modules and manifests, a second for hiera. Branches are
for features and personal development branches.
I might install forge repositories in a different modulepath to force
working with the community.
The git reposi
We work only with one Git repository for Puppet, and it contains:
- 1 directory for hiera-data -> structured environments. For instance:
hiera-data
|--common
| |- us
|--master
| |- us
|--production
(etc)
- 1 directory for all nodes, and 1 manifests file (xx.pp) for each
Cheers for the clarification Den... Works a charm now :-)
S
On Tuesday, May 29, 2012 11:43:21 AM UTC+1, denmat wrote:
>
> Hi Steve,
>
> I believe he meant that you pass your array directly to the defined type:
>
> class test ($tport) {
> fwport{ $fport: }
> }
>
>
> define fwport {
> $fport =
Jeff
This is where the keytool is
lrwxrwxrwx. 1 root root 49 Apr 27 08:18 keytool -> /usr/lib/jvm/
jre-1.6.0-openjdk.x86_64/bin/keytool
Thanks
Shiva
On May 24, 6:47 pm, wrote:
> -- Sent from my HP VeerOn May 24, 2012 17:21, Jeff McCune
> wrote:On Tue, May 22, 2012 at 6:58 AM,
> Shivawrote:I
On May 26, 8:56 pm, Anthony Shortland
wrote:
> We're using Puppet as part of a broader toolchain that relies on delivering
> software for deployment using sets of Yum-based RPM packages. We've setup
> system, role and application specific Yum repositories on an
> environment-by-environment ba
On May 27, 9:30 am, Mukul Malhotra wrote:
> This error is due to the attributes which are applied to the paticular file.
>
> Check lsattr & remove the chattr attribute then run puppet
> again
My guess would be that the filesystem containing /tmp is mounted read-
only. The kernel could pu
Hi puppet users,
I would like to know how to reassign the global variables specifically
extlookup_datadir, extlookup_precedence.
My use case is in such a way that suppose I have 2 agents handled by
master.
Agent1 requires the custom parameters for the module installation.
These parameter files(*.
On May 25, 12:48 pm, Ed Greenberg wrote:
> I have the error err: Invalid argument - /var/lib/puppet/state/
> puppetdlock appearing on one of my servers.
>
> I have plenty of disk and plenty of inodes.
>
> The daemon is not running. I run it manually using /usr/sbin/puppetd
> --verbose --no-da
On May 25, 10:12 am, Mathias Klette
wrote:
> Hi,
>
> I'm wondering in which order puppet qualifies variables when using default
> values at the same time.
>
> I'm trying to set this up for a general ntp-class serving ntp.conf for
> server and client-mode. There is a general params-subclass which
On Tue, May 22, 2012 at 5:43 PM, Ryan Coleman wrote:
> On Tue, May 22, 2012 at 2:56 AM, Matthew Burgess
> wrote:
>> Thanks for any help, either in being able to get puppet-load to load
>> test our environment, or in letting me know what might cause our
>> clients to fail to check in reliably if i
On May 28, 11:17 am, Luke Bigum wrote:
> Hi all,
>
> Does anyone have an all-in-one-run work around for this issue:
>
> http://projects.puppetlabs.com/issues/791
>
> Where Puppet / Ruby / libc is not rereading the naming service settings
> if Puppet itself changes them. I've got a situation wher
I'm a custom fact n00b :(
---broadcast.rb:
#Return the broadcast address of eth0
require 'facter'
Facter.add("broadcast") do
ipaddr = Facter.value('ipaddress')
nmask = Facter.value('netmask')
setcode do
Facter::Util::Resolution.exec{"ipcalc -s -b #{ipaddr} #{nmask} | cut
-d=
Hello!
For some machines I want to do a semi automated installation via puppet
apply. Is it possible to tell Puppet to install Debian packages
interactively in this case? So that for example the MySQL root password can
be entered.
Cheers,
Dennis Benzinger | hybris GmbH
--
You received t
On Tue, May 29, 2012 at 8:55 AM, Dan White wrote:
> I'm a custom fact n00b :(
>
> ---broadcast.rb:
> #Return the broadcast address of eth0
> require 'facter'
>
> Facter.add("broadcast") do
>ipaddr = Facter.value('ipaddress')
>nmask = Facter.value('netmask')
>setcode do
>Facter
On Tue, May 29, 2012 at 7:03 AM, Dennis Benzinger | hybris
wrote:
> Hello!
>
> For some machines I want to do a semi automated installation via puppet
> apply. Is it possible to tell Puppet to install Debian packages
> interactively in this case? So that for example the MySQL root password can
> b
no matter what I try I keep getting this error:
rake RAILS_ENV=production db:migrate --trace
** Invoke db:migrate (first_time)
** Invoke environment (first_time)
** Execute environment
** Execute db:migrate
rake aborted!
Access denied for user 'dashboard'@'localhost' to database
'production'
I ha
Hi,
I have a template which looks like this
<% scope.lookupvar('openldap::params::ldapservers').each do |var| -%>
olcSyncrepl: {0}rid=001 provider="ldap://<%= var %>:389"
type=refreshAndPer
sist retry="5 5 300 +" searchbase="<%=
scope.lookupvar('openldap::params::searchbase') %>" attrs="*,+"
bin
Fantastic !
Thanks, Gary. I knew it had to be some bone-head boo-boo like that.
I trimmed it down further:
#Return the broadcast address of eth0
require 'facter'
Facter.add("broadcast") do
setcode ("ipcalc -s -b #{Facter.value('ipaddress')}
#{Facter.value('netmask')} | cut -d= -f2")
end
“
Yes, as mentioned in the release notes, hiera and the hiera puppet
functions (hiera-puppet) are required for Puppet 3.0. That dependency
is not limited to puppetmasters, which is why it isn't in the
puppet-server section.
With respect to /sbin files, the release notes mentioned the following:
* S
You can go further by removing the require facter line as it should be
unnecessary too :)
On Tue, May 29, 2012 at 11:41 AM, Dan White wrote:
> Fantastic !
> Thanks, Gary. I knew it had to be some bone-head boo-boo like that.
>
> I trimmed it down further:
>
> #Return the broadcast address of et
Thanks guys, very interesting. I guess the main thing I'm concerned
about with my workflow is that I'll be doing a lot of merging, and I'm
not sure how sustainable that is. For example:
1. Add new feature to unstable
2. Merge to dev
3. Merge to testing
4. Merge to production
The idea being that o
When I do puppet kick --ping to puppet agent on some host, agent retrieves
the catalog from master and applies it locally.. is it the intended
behavior for --ping option. Man page says it just does ICMP echo on agent
port.
Pl. help if you have more insight.. may be I am missing something..
Appr
solved my own issue, the DB name should be: dashboard, comes as
production_dashboard in Ubuntu 12.04 database.yml file.
then:
rake RAILS_ENV=production db:remove
rake RAILS_ENV=production db:create
rake RAILS_ENV=production db:migrate
I hope this helps the poor soul that stumbles across this as
On Mon, May 28, 2012 at 6:14 AM, Andy Taylor wrote:
> I'm currently trying to work out the best way structure my Puppet
> environments and VCS structure. At the moment I'mk working on
> something like this:
>
> Three Git repositories (one for modules, one for Hiera, one for node
> manifests)
> Mu
I will try that and report back.
Thanks again for your assistance.
- Gary Larizza wrote:
> You can go further by removing the require facter line as it should be
> unnecessary too :)
>
> On Tue, May 29, 2012 at 11:41 AM, Dan White wrote:
>
> > Fantastic !
> > Thanks, Gary. I knew it had
The git branches/Puppet environments actually mirror the
infrastructure. So we have groups of servers. Unstable is just for
nodes which I test new functionality on, dev is for web developers. So
it seemed to make sense to mirror the environments in the git
repository with branches.
On May 29, 9:28
On Tue, May 29, 2012 at 6:19 AM, Shiva wrote:
> Jeff
>
> This is where the keytool is
>
> lrwxrwxrwx. 1 root root 49 Apr 27 08:18 keytool -> /usr/lib/jvm/
> jre-1.6.0-openjdk.x86_64/bin/keytool
>
That looks correct.
What version of the package do you have installed? You can check using:
rpm -qf
Hello,
Maybe I am missing something major, but why we would need to install
both hiera and hiera-puppet packages on every puppet nodes (including
client)? My understanding is that hiera is just for backend data, and
is only needed on puppetmaster ..
I was referring to /usr/sbin/puppetmasterd is m
On Tue, May 29, 2012 at 12:11 PM, Nan Liu wrote:
> On Tue, May 29, 2012 at 7:03 AM, Dennis Benzinger | hybris
> wrote:
>> Hello!
>>
>> For some machines I want to do a semi automated installation via puppet
>> apply. Is it possible to tell Puppet to install Debian packages
>> interactively in thi
> '/rpm/SOURCES/CIG-puppet-3.0.0rc2/conf/redhat/server.init'
What's CIG-puppet?
--
Adrien Thebo | Puppet Labs Operations
Sent with Sparrow (http://www.sparrowmailapp.com/?sig)
On Tuesday, May 29, 2012 at 2:11 PM, hai wu wrote:
> Hello,
>
> Maybe I am missing something major, but why we woul
Please disregard that, it should be
/rpm/SOURCES/puppet-3.0.0rc2/conf/redhat/server.init. I just changed
the folder name.
Thanks,
Hai
On 5/29/12, Adrien Thebo wrote:
>> '/rpm/SOURCES/CIG-puppet-3.0.0rc2/conf/redhat/server.init'
>
> What's CIG-puppet?
>
> --
> Adrien Thebo | Puppet Labs Operation
On Tue, May 29, 2012 at 2:11 PM, hai wu wrote:
G'day.
> Maybe I am missing something major, but why we would need to install
> both hiera and hiera-puppet packages on every puppet nodes (including
> client)? My understanding is that hiera is just for backend data, and
> is only needed on puppetm
Hai,
Thanks for catching the problems with the redhat init scripts, they
have been updated to reference the correct files. The updated init
scripts will be available in the next rc.
On Tue, May 29, 2012 at 2:11 PM, hai wu wrote:
> Hello,
>
> Maybe I am missing something major, but why we would ne
Thanks nseagoon! But that didn't help. I already did that. And I'm still
trying to understand the audit log.
Does any one have any other suggestion(s) for me? Cheers!!
On Monday, May 28, 2012 3:48:03 AM UTC+1, nseagoon wrote:
>
> If you're running puppet as a daemon with selinux in enforcing mo
I see, this is to support puppetmaster-less. Thanks for clarifying this.
Thanks,
Hai
On 5/29/12, Daniel Pittman wrote:
> On Tue, May 29, 2012 at 2:11 PM, hai wu wrote:
>
> G'day.
>
>> Maybe I am missing something major, but why we would need to install
>> both hiera and hiera-puppet packages on
Puppet 2.7.15rc3 is a maintenance release candidate for Puppet in the
2.7.x series.
Downloads are available at:
* Source https://downloads.puppetlabs.com/puppet/puppet-2.7.15rc3.tar.gz
Windows package is available at
https://downloads.puppetlabs.com/windows/puppet-2.7.15rc3.msi
RPMs are availab
On Tue, May 29, 2012 at 1:39 PM, Sans wrote:
>
> Thanks nseagoon! But that didn't help. I already did that. And I'm still
> trying to understand the audit log.
> Does any one have any other suggestion(s) for me? Cheers!!
It may be useful for you to install the 'setroubleshoot' package
(that's wha
42 matches
Mail list logo