Transform Puppet F5 Big IP Resource Manifest to Hieradata
Hi all, Would like to ask if any build-in method(s) transforming from F5 Big IP Resource Manifest to hieradata (YAML)? We starts including F5 Big IP to be under Puppet management and governance. We can...
View ArticleHow to access map variable using hiera?
# test.yaml x-certificate: id:'xxxxx' name:'x' How to access id value of x-certificate using hiera? Is it possible?
View Articlerefresh exec before executing package install
I keep coming up against this issue so me thinks I must be approaching it the wrong way. It seems like such a common thing that one would want to do and yet it seems very hard with Puppet. Thus, I...
View Articlehow to use xADDomain ?
I'm trying to install activedirectory with Puppet version 3.8+ and the new DSC module. Currently i'm stuck with the dsc_domainadministratorcrendential part....
View ArticleHow can I get the host group name in my puppet class?
In my my puppet class i am trying to get the hostgroup name of the host using $::hostgroup but i always get the blank value.
View ArticleHow to determine whether the installed puppet is enterprise or open source...
How to determine from the puppet master whether the installed version is opensource or enterprise? Thanks, Lokesh
View ArticleCould not retrieve catalog from remote server
Hi All, I'm new to puppet (been a week) and got stuck with an issue. Managed to setup a master and couple of nodes which are running fine. **Tried the below module sample**:...
View Articlehow to use alias for host in serverspec
Hi, Below is the puppet manifests, host { $::fqdn : ensure => $ensure, host_aliases => $::hostname, ip => $::ipaddress, } I have written below serverspec for this describe...
View Articlerunning Puppet on this node 2015.3 (API ?)
Hello, i noticed that there's a new section on every node called "running Puppet on this node". Right now i use mco for remote execution of an agent run but need this function to have integrated in my...
View Articledependency cycle : don't understand why
Hi, i have this error when i tried to link some classes : Error: Failed to apply catalog: Found 1 dependency cycle: (Exec[purge rpm cache tuxedo 12.1.3.0.0.30-1] =>...
View Articleequal sign not working in serverspec for if condition
Hi, I have written below serverspec if os[:release] == '6' describe file('/etc/test.conf') do it { should exist } it { should be_owned_by 'root' } it { should be_grouped_into 'root' } it { should...
View ArticleHow to implement windows_updates module in site.pp
My sincerest apologies....I'm a total Puppet newbie and been spending a lot of time writing the usual practice modules to learn it on Linux since it's the OS I'm most proficient in. I want to demo...
View Articlecommand "puppet resource scheduled_task" , it does not provide all the...
I found that the above query is only providing the scheduled task listed in directory path "c:/windows/system32/tasks". But there are many other scheduled tasks under directory "c:/windows/tasks" ....
View ArticleAPI for sign cert 2015.3
I checked all API docs but didn't find a hint how to sign certs via API. Since Puppet does provide razor for bare-metal, of course, i want to automate all tasks without interaction. How to sign certs...
View ArticleI am trying to install asp net mvc 1.0 in servers. Can anyone help me with...
Below is the code I am using in ruby mine. package { 'Microsoft ASP NET MVC': ensure => 'installed', provider => 'msi' source => "$profile::base::installersPath\\AspNetMVC1.msi",...
View Articlequest vm no cowsay
I'm trying to work my way through the quests in the training VM. But on running the --noop command in Manifests and classes I get the following result. puppet apply --noop cowsayings/tests/cowsay.pp...
View Articleclass is already declared error cannot redeclaire how to fix?
I am getting this when I run my modules with Satellite and puppet . I have the puppet agent installed and alot of stuff is working right, but I have this nagging problem I am not sure how to fix....
View ArticleTrouble Parsing a Structured Fact
I am trying to return the UUID for a given partition. This is the closest I can get, but you can see it returns everything in `$::partitions`, and then appends "[sda1][uuid]" at the end as if it's...
View ArticlePuppetdb module installation fails at postgresql
I am running on Puppet version 3.7.4, and Debian 7.8 Even on the simplest manifest I can use: node testytest { class { 'puppetdb':} } Running puppet agent fails with this error: ==> default: Error:...
View Articlewhat is the difference between pe_build and pe_version?
what is the difference between facter pe_build and facter pe_version, facter pe_build is returning 2015.3.0 facter pe_version is returning 4.3.1 how to get the version correctly in all the puppet...
View Article