ess condition with exec resource as specified by Jorge to
execute something if the the directory is present or not
Thanks and Regards,
Sneha More
On Wednesday, August 20, 2014 1:19:55 AM UTC+5:30, Flamarion Jorge wrote:
>
> Ok. I'm sorry. Here other way.
>
> exec { "create di
Hi,
I think the problem is with your modulepath, as your apache module is
under /etc/puppetlabs/puppet/environments/dev/, change the modulepath under
[dev] as
modulepath = /etc/puppetlabs/puppet/environments/dev
I hope this will solve your problem.
Thanks and Regards
Sneha More.
NTT DATA
u.
Thanks and Regards,
Sneha More.
On Tuesday, October 8, 2013 11:57:35 PM UTC+5:30, John wrote:
>
> I need to write a puppet SSHD module that does the following:
>
> First I have 5 different operating systems to install to: Red Hat, Free
> BSD, AIX, Ubuntu, and SuSE.
>
>
ile in
template, refer
http://stackoverflow.com/questions/16551717/how-to-include-a-subtemplate-in-a-puppet-template.
I hope its useful to you.
Thanks and Regards,
Sneha More,
NTT DATA GTS, OSS Center, India
On Tuesday, October 1, 2013 8:07:26 AM UTC+5:30, Tom Noonan wrote:
>
> Hello,
al.html for learning resources,
manifests, ordering, modules, classes etc.
I hope this will help you.
Thanks & Regards,
Sneha More,
NTT DATA GTS, OSS Center, India, Pune
On Friday, September 27, 2013 4:45:02 PM UTC+5:30, Dilip Varma wrote:
>
> Hi,
>
> I'm newbie to Puppet even i
Hi,
you can use fact like,
env.rb
Facter.add("env") do
setcode do
Facter::Util::Resolution.exec('hostname | cut -d"-" -f4')
end
end
I hope this will work fine.
Thanks & Regards,
Sneha More,
NTT DATA GTS, OSS Center, India (Pune)
On Friday, Sept
.
i.e. different value of admin list for different node.
For 2nd example:
Create fact to find your special case machines. and you can use
condition
if $ == "special case"
{
here use different port number for iptables rule.
}
Thanks and Regards,
Sneha More,
NTT DATA GTS,
just need to transfer this C# code on client -> you can achive this
by "file" resource to transfer file
2. you need to execute your code on cleint -> you can achieve this by "exec
resource".
I hope this will help you to start up.
Thanks and Regards,
Sneha More,
NTT D
Hi Dilip,
Have you added listen = true in [main] section of puppet.conf?
And have you allowd access to runpath in auth.conf?
Please refer http://docs.puppetlabs.com/man/kick.html.
It may help you to solve this error.
Thanks & Regards,
Sneha More,
NTT DATA GTS, OSS Center, India (Pune).
Hi,
exec { 'fusioninventory-agent':
command => 'yum -y install fusioninventory-agent --enablerepo=epel',
path => '/usr/bin',
}
An other idea is modifiy repo and change enabled=0 by enabled=1 and after
> install or update modify enabled=0 by enabled=1 ? Your opinion?
> Regards and
the deletion of files on client if you delete file on
server.
Thanks & Regards,
Sneha More,
NTT DATA GTS, OSS Center, India (Pune).
On Tue, Sep 24, 2013 at 6:22 PM, AAB !! wrote:
> Thanks for reply !
> Could you/anyone tell me if a file gets deleted on the puppet master why
> does
Hi ,
you can try this,
class fusioninventory-agent::redhat {
# if you know the latest version of fusioninventory-agent, directly specify
the version in the Exec command
exec { 'fusioninventory-agent':
command => 'yum -y install fusioninventory-agent-2.3.2 --enablerepo=epel',
path => '/us
://docs.puppetlabs.com/windows/running.html
Hope this will help you.
Thanks & Regard,
Sneha More,
NTT DATA GTS, OSS Center, India (Pune)
On Tuesday, September 24, 2013 1:40:55 PM UTC+5:30, AAB !! wrote:
>
> Hi,
> You can skip the second question. But let come back to the first one,
> c
increase the "runinterval" so that, "puppet agent"
executes after complete editing of file.
Or just transfer the files in folder, instead of complete folder.
Thanks & Regards,
Sneha More,
NTT DATA GTS, OSS Center, India (pune)
On Tuesday, September 24, 2013 1:32:44 PM
gt; '/usr/bin',
}
Do not use Package resource again.
I hope this will help you.
Thanks & Regards
Sneha More
On Mon, Sep 23, 2013 at 3:46 PM, puppetstan wrote:
> Hi
>
> This configuration is not good if fusioninventory-agent is installed and
> puppet want to
Hi,
Is there any problem with your yum command?
I could not understand, why yum install is not working?
Have you tried executing the same command manually?
On Saturday, September 21, 2013 10:48:42 PM UTC+5:30, puppetstan wrote:
>
> A question, if in my Exec "toto" i use command = yum -y --enabl
Hi Dilip,
You can get the installation and configuration steps for puppet on RHEL on
link
http://docs.puppetlabs.com/guides/installation.html#red-hat-enterprise-linux-and-derivatives
You can run shell script in client node which is in puppet server by,
1. Transfer the shell script to client
anks and Regards,
Sneha More,
NTTD GTS, OSS centre, India (Pune)
On Friday, September 13, 2013 8:53:32 PM UTC+5:30, puppetstan wrote:
>
> Hi
>
> I would like to use enablerepo option for activate repo and verify package
> latest version
>
> my manifest :
>
> package
content => template("SSHT Template 2"),
}
}
else
{
file { '/etc/ssh/sshd_config':
ensure => present,
owner => $owner,
group => $group,
mode => '0644',
backup => false,
content => template("SSHDT Templa
r=> 'chocolatey',
}
Thanks & Regards
Sneha More,
NTT DATA GTS, OSS Center, India (pune)
On Tuesday, September 17, 2013 8:11:04 AM UTC+5:30, Nate Walck wrote:
>
> I started using chocolatey today and when trying to install an app
> (Teamspeak3 in this cas
ml for
deatiled description
Thanks & Regards,
Sneha More,
NTT DATA GTS, OSS Center India, (Pune).
On Monday, September 16, 2013 11:57:12 AM UTC+5:30, Adeel Bhatti wrote:
>
> Hi,
> Is it possible to get response of a command from puppet ?
> For example if I run "nginx
Hi
Have you changed any facts and used in your class pentaho? broken
handeling of facts may give such error.
will you please elaborate on your development environment?
Thanks & Regards,
Sneha More,
NTT DATA GTS, OSS Center, India (Pune),
On Monday, September 9, 2013 8:47:04 PM UTC+
s.com/puppet/2.7/reference/modules_fundamentals.html
Thanks & Regards,
Sneha More,
NTT DATA OSS Center Pune, India
On Friday, August 16, 2013 11:14:02 PM UTC+5:30, ytmp123 wrote:
>
> Hi Ellison Marks:
>
> Thanks. But I don't get what I'm exactly expected to do in thi
Hi,
I think you can solve this by resolving dependancy in init.pp
You may try something like this.
init.pp
class openstack {
include openstack::install
class {'nova::controller':
require => Class['openstack::install'],
}
On Saturday, August 17, 2013 2:11:31 AM UTC+5:30, towen27
}
}
Here the class has hash value $bond_conf = { userctl => '', onboot =>
'', }.
rdoc generated by puppet doc does not create documentation for it.
Regards,
Sneha More
On Wed, Aug 14, 2013 at 4:49 PM, Sneha More wrote:
> Hi,
>I am generating rdoc by pu
Hi,
I am generating rdoc by puppet doc, but it is not creating documentation
for the class having hash values.
Is there any way to solve this problem?
Regards,
Sneha More.
--
You received this message because you are subscribed to the Google Groups
"Puppet Users" group.
To unsubs
t;
Hi Kristof,
Even your solution :
onlyif => "match *[spec = \"${fs_dev}\"] size == 0"
will work perfectly.
Regards,
Sneha More.
NTT DATA GTS.
(OSS Center) Pune.
On Tue, Jul 30, 2013 at 9:42 PM, Kristof Willaert <
kristof.willa...@gmail.com> wrote:
>
varible must be in '' (single inverted
comma)
Now try this:
*onlyif => "match */spec[. = '$fs_dev'] size == 0"
*
This will definitely work.
Sorry for creating confusion in previous reply.
Regards,
Sneha More,
NTT DATA GTS,
Pune. (OSS Center)
On Tue, Jul 30, 201
thanks.
>
> Cheers.
>
Hi,
Here your onlyif condition is the cause of inserting a new line each
time.
you can try this:
*onlyif => "match*[spec=$fs_dev] size == 0"*
This will match your $fs_dev and will not insert it second time.
Regards,
Sneha More,
NTT DATA GTS,
Pune.
;puppet_agent":
stage => first,
}
class {"base_config:
stage => second,
}
}
Regards,
Sneha More.
NTT DATA GTS.(OSS Centre)
On Monday, July 22, 2013 9:40:53 PM UTC+5:30, cko wrote:
>
> hi everyone,
>
> my
Hi Aviar,
I think you should try this once.
class test {
notify { "hello world": }
file { '/home/puppet/hello':
owner => "root",
group => "root",
mode => 644,
ensure => present,
source => "puppet:///f
Hi George,
You can directly use the fact hostname as $hostname in your manifest.
So though the hostname changes, puppet will take the updated value of
$hostname.
Will you please elaborate about the scenario for new node? Do you
want to use this hostname for certification signin
On Friday, July 19, 2013 12:45:50 AM UTC+5:30, Mark Hatch wrote:
>
> Here is my manifest...
>
> package { 'tractor blade':
> provider => 'rpm',
> ensure => present,
> source =>
> 'puppet:///modules/mpsvfx/tractor-blade-1.7_1191418-linuxFC12_gcc
33 matches
Mail list logo