Quantcast
Channel: Ask Puppet: Puppet DevOps Q&A Community - RSS feed
Viewing all 6104 articles
Browse latest View live

--- Article Removed ---

$
0
0
***
***
*** RSSing Note: Article removed by member request. ***
***

Recover Deleted IPhone Text Messages

$
0
0
So, you have found that deleted or misplaced information might be recovered. You have additionally learned that there is knowledge restoration software on the market to do it for you. Secure Information Rescue did a incredible job. They saved 12 years price of priceless data! Covers new single-disk external laborious drives of any model when purchased within 30 days (receipt must be retained for purchases not on the same transaction). Your digital life is irreplaceable. In case your computer or onerous drive fails, it will probably value a whole lot of dollars to revive all of your music, pictures, movies, memories, and necessary recordsdata.

Manufacturer warranties may cover the price of repairing your drive, however not the price of restoring all of your data.microsoft support number Envescent has been serving the Arlington, Virginia space and beyond since 1999. Our workforce provides your information recovery the eye it deserves to provde the finest outcomes doable. We have a formidable 90% success rate on knowledge restoration cases. Each case matters to us as a result of we understand your knowledge is made up of laborious (if not not possible) to replace information or time.

Storage know-how evolves rapidly. To maintain up, now we have to develop new knowledge retrieval strategies and techniques at simply as speedy a tempo. Our specialists carry out the analysis and improvement so we will get well forensic data recovery for customers with all the newest in laborious drives, solid state drives, and portable flash devices. One of many first questions we get asked by most prospects is How lengthy will the recovery take?". Unfortunately there isn't a clear minimize answer to that query, as every case is totally different.

Listed below are some elements to think about that have an effect on the overall timeline of the info recovery. Your card will only be charged if we are in a position to efficiently recover consumer particular information. Regardless of if we are capable of get well 10 files or 10,000 information, any person particular information successfully recovered will lead to a charge to your card. It's unimaginable for any data recovery firm to guarantee one hundred% file recovery, particularly for storage units that are damaged.

The damage that initially precipitated your drive to cease functioning usually makes it unattainable to access some elements of the drive that contain data. Our information restoration technicians will make every try to get well as much knowledge as possible, but there isn't any option to guarantee that particular information will probably be recovered. If no consumer recordsdata could be recovered from the system (i.e. if the machine is just too badly damaged), you'll not be charged.

For more information about our providers, visit our testimonials web page to read real letters from our clients. It's also possible to name our 24/7 customer service team at 1-800-388-1266 to set up a free analysis at certainly one of our facilities. At PROFESSIONAL, there isn't a upfront cost. Our restore course of is designed to reduce your downtime, give you a flat rate restore cost, and preserve you knowledgeable about your service order status at all times via our repair portal.

Service Sort - Clients who need expedited or emergency providers pay a bit more for our services, nevertheless additionally they get priority service. If you happen to order expedited service ($150 further) your challenge will likely be bumped to the entrance of the road and labored on before all other projects.

facing problem with puppet-agent on window server 2016.

$
0
0
HI. I am facing problem with puppet-agent on window server 2016. Problem -: Puppet run fails on windows server 2016 after installing role - remote desktop session host. ************************************************************************************************ Error: /File[C:/ProgramData/PuppetLabs/puppet/cache/facts.d]: Failed to generate additional resources using 'eval_generate': getaddrinfo: No such host is known. Error: /File[C:/ProgramData/PuppetLabs/puppet/cache/facts.d]: Could not evaluate: Could not retrieve file metadata for puppet:///pluginfacts: getaddrinfo: No such host is known. Info: Retrieving plugin Error: /File[C:/ProgramData/PuppetLabs/puppet/cache/lib]: Failed to generate additional resources using 'eval_generate': getaddrinfo: No such host is known. Error: /File[C:/ProgramData/PuppetLabs/puppet/cache/lib]: Could not evaluate: Could not retrieve file metadata for puppet:///plugins: getaddrinfo: No such host is known. Info: Loading facts Error: Could not retrieve catalog from remote server: getaddrinfo: No such host is known. Warning: Not using cache on failed catalog Error: Could not retrieve catalog; skipping run Error: Could not send report: getaddrinfo: No such host is known. ************************************************************************************************* Observations : 1) Puppet run is successfully executed before the installation of role - remote desktop session host. 2) Immediately after installation of RD session host puppet execution fails. 3) Puppet communicates on port 8140 with master which is verified and open. Puppet execution is verified with windows server 2008 which is working fine with the RD session host role.

puppet windows add wait or sleep

$
0
0
I have a script which is having multiple file and exec resources. My question is can i add some attribute in each of these resources to take time(like sleep) before next resource is executed? I want puppet to fully complete a task before moving to another. exec { 'Enable ASP NET 2.0' : command => 'C:\Windows\System32\inetsrv\appcmd.exe set app "DefaultWebSite/ShipGuestLog" "/applicationpool:ASP.NET v2.0" ', } file { 'C:\inetpub\wwwroot\ShipGuestLog\Web.config' : ensure => file, source => 'puppet:///modules/guestlog/Web.config', }

forex forex

$
0
0
Forex (contraction of the English foreign exchange) or foreign exchange market is a market currencies across the world. It is decentralized and accessible to all: when a tourist in Tokyo buys dollars with yen, it performs a transaction on the forex market - just as when a multinational converts million pounds sterling. This makes it the largest market in the world, rendered volatile by the large volume of transactions, it is permanently open, except on weekends.

Many clients seek only forex exchange foreign currency against theirs, such as requiring companies to pay wages somewhere other than where they sell. But a large part consists of currency dealers who speculate on movements in exchange rates - like those who are on the evolution of stock prices.

Exchange rates fluctuate due to macroeconomic developments and events and expectations that traders have, in addition to actual cash flows. This market attracts investors because its volatility provides many opportunities for profits (and losses, of course), while allowing the use of hedging instruments well known. Another of its advantages is that the forex broker allows the use of leverage for their investors by requiring only small margins.

On the mercado forex divisas market, currencies are traded against each other by "pairs", which represent the relative value of a unit of currency, the "base" against another currency, the "cons". They are usually written by juxtaposing the international codes three letters of currencies, starting with the basic example, EUR / USD refers to the ratio of the euro against the U.S. dollar.

Like all markets, there is a difference between purchase price and selling on forex, called gap between demand and supply. It is measured in "pips," the smallest difference in price a given exchange rate can offer - and generally equal to 1 / 100 of a percent. For major currencies, the difference between the price at which a market will buy ( "Application") to a client and one he will sell ( "Offer") is often between one and three pips.


The market is divided into three access levels: at the top is the interbank market, including the largest banks and securities dealers, who generally perceive sharp differences. The smaller banks and large multinational companies come after, followed by pension funds and asset managers. The independent traders, which banned the march, participate indirectly through brokers or banks, and are part of a growing market through the facilities offered by the Internet.

Fap Turbo is best Automated Trading Robot

module license

$
0
0
Hi All I am new to puppet . I am trying to install Oracle Module from https://forge.puppet.com/biemond/oradb One question , is it free to download this module ? Please help me here Or if you feel this is wrong forum to ask this question , I sincerely ask your apologies Sohin

I get a lot of: "failed: You cannot specify more than one of content, source, target at.."

$
0
0
Hi all, I am trying to write a module that it depends to multiple files. now while my code is parser validated and it essentially comprises of: class elkstack { package { 'filebeat' : ensure => 'installed', source => " puppet:///modules/elkstack/filebeat-1.3.1-x86_64.rpm ", } service { 'filebeat' : ensure => 'running', enable => 'true', require => Package['filebeat'], } file { '/etc/pki/tls/certs/logstash-forwarder.crt': ensure => 'present', content => "puppet:///modules/elkstack/logstash-forwarder.crt", } file { '/etc/filebeat/filebeat.yml' : ensure => 'presnet', content => "puppet:///modules/elkstack/filebeat.yml", require => Package['filebeat'], } I am getting the subject error on the second file resource declaration that refer basically to the same dir as /modules/elkstack/files/... I tried to search the Internet for any same case scenario but non existed. Note that I run puppet apply /modules/elkstack/example/init.pp --noop on the puppet master when getting this error...Can somebody help? as it has been bugging me for the last hour or two please...

what type of database does Puppet open source use?

$
0
0
I know PE uses Postgresql, but how about Puppet open source version? Many thanks.

puppet agent is unable to connect with puppet master

$
0
0
puppetmaster version 3.6.2,rubyversion 1.8.7,RHOS - 6.6 Puppetagent version 3.8.4,rubyversion 2.0,RHOS 7 trying puppetagent -- test -trace Error: Failed to apply catalog: Could not retrieve local facts: undefined method `to_a' for "ens160":String /var/lib/puppet/lib/facter/default_gateway.rb:46:in `block (2 levels) in ' /var/lib/puppet/lib/facter/default_gateway.rb:46:in `collect!' /var/lib/puppet/lib/facter/default_gateway.rb:46:in `block in ' /var/lib/puppet/lib/facter/default_gateway.rb:31:in `each_line' /var/lib/puppet/lib/facter/default_gateway.rb:31:in `' /usr/share/ruby/vendor_ruby/facter/util/loader.rb:130:in `load' /usr/share/ruby/vendor_ruby/facter/util/loader.rb:130:in `kernel_load' /usr/share/ruby/vendor_ruby/facter/util/loader.rb:115:in `load_file' /usr/share/ruby/vendor_ruby/facter/util/loader.rb:49:in `block (2 levels) in load_all' /usr/share/ruby/vendor_ruby/facter/util/loader.rb:47:in `each' /usr/share/ruby/vendor_ruby/facter/util/loader.rb:47:in `block in load_all' /usr/share/ruby/vendor_ruby/facter/util/loader.rb:45:in `each' /usr/share/ruby/vendor_ruby/facter/util/loader.rb:45:in `load_all' /usr/share/ruby/vendor_ruby/facter/util/collection.rb:104:in `load_all' /usr/share/ruby/vendor_ruby/facter.rb:126:in `to_hash' /usr/share/ruby/vendor_ruby/puppet/indirector/facts/facter.rb:23:in `find' /usr/share/ruby/vendor_ruby/puppet/indirector/indirection.rb:201:in `find' /usr/share/ruby/vendor_ruby/puppet/configurer/fact_handler.rb:15:in `find_facts' /usr/share/ruby/vendor_ruby/puppet/configurer/fact_handler.rb:31:in `facts_for_uploading' /usr/share/ruby/vendor_ruby/puppet/configurer.rb:97:in `get_facts' /usr/share/ruby/vendor_ruby/puppet/configurer.rb:199:in `run_internal' /usr/share/ruby/vendor_ruby/puppet/configurer.rb:134:in `block in run' /usr/share/ruby/vendor_ruby/puppet/context.rb:64:in `override' /usr/share/ruby/vendor_ruby/puppet.rb:246:in `override' /usr/share/ruby/vendor_ruby/puppet/configurer.rb:133:in `run' /usr/share/ruby/vendor_ruby/puppet/agent.rb:47:in `block (4 levels) in run' /usr/share/ruby/vendor_ruby/puppet/agent/locker.rb:20:in `lock' /usr/share/ruby/vendor_ruby/puppet/agent.rb:47:in `block (3 levels) in run' /usr/share/ruby/vendor_ruby/puppet/agent.rb:117:in `with_client' /usr/share/ruby/vendor_ruby/puppet/agent.rb:44:in `block (2 levels) in run' /usr/share/ruby/vendor_ruby/puppet/agent.rb:82:in `run_in_fork' /usr/share/ruby/vendor_ruby/puppet/agent.rb:43:in `block in run' /usr/share/ruby/vendor_ruby/puppet/application.rb:179:in `call' /usr/share/ruby/vendor_ruby/puppet/application.rb:179:in `controlled_run' /usr/share/ruby/vendor_ruby/puppet/agent.rb:41:in `run' /usr/share/ruby/vendor_ruby/puppet/application/agent.rb:361:in `onetime' /usr/share/ruby/vendor_ruby/puppet/application/agent.rb:327:in `run_command' /usr/share/ruby/vendor_ruby/puppet/application.rb:381:in `block (2 levels) in run' /usr/share/ruby/vendor_ruby/puppet/application.rb:507:in `plugin_hook' /usr/share/ruby/vendor_ruby/puppet/application.rb:381:in `block in run' /usr/share/ruby/vendor_ruby/puppet/util.rb:496:in `exit_on_fail' /usr/share/ruby/vendor_ruby/puppet/application.rb:381:in `run' /usr/share/ruby/vendor_ruby/puppet/util/command_line.rb:146:in `run' /usr/share/ruby/vendor_ruby/puppet/util/command_line.rb:92:in `execute' /usr/bin/puppet:8:in `
' How to resolve this??Is this due to version incompatability between puppet master and agent??if yes,how to resolve it..do the upgrade of puppet master will ensure old connection to work properly??

Create trusted role after agent install - Windows

$
0
0
I am somewhat new to Puppet and am looking to find out if anyone knows how to change the trusted role in Windows. After talking to someone who has done it in the Linux side of the house they are able to do it by editing the csrattribute.yaml file after stopping the resource and removing it from the puppet master. Once they are finished editing the csrattribute.yaml file they start the resource again and the node registers itself to the puppet master with the updated trusted role. Any thoughts/guidance would be helpful.

command line hiera not work after switch to hiera5 hiera.yaml

$
0
0
Hi, I am switching to hiera5. My opensource puppet master and nodes are working fine and are able to consume the hiera data, but I would like to be able to run `hiera` from the command line on my puppet master to QA my hiera data. With the previous version of hiera I had a shell script that execute a bunch of hiera commands. For example it would execute: /opt/puppetlabs/bin/hiera controller_vip_name '::pod_prefix=fab-aos' '::pod_role=controller' '::ipaddress_eth0=123.456.789.012' '::fqdn=fake-fqdn.example.com' '::processorcount=fake-processor-count' environment=production The problem is that the above command and all of the commands executed by my script return `nil`. If I run the above command on my puppet master with debug I get this output: DEBUG: 2017-06-21 16:54:29 +0000: Hiera YAML backend starting DEBUG: 2017-06-21 16:54:29 +0000: Looking up controller_vip_name in YAML backend DEBUG: 2017-06-21 16:54:29 +0000: Ignoring bad definition in :hierarchy: 'nodes/' DEBUG: 2017-06-21 16:54:29 +0000: Looking for data source common DEBUG: 2017-06-21 16:54:29 +0000: Cannot find datafile /etc/puppetlabs/code/environments/production/hieradata/common.yaml, skipping I have these hiera.yaml files on my puppet master: # cat /etc/puppetlabs/puppet/hiera.yaml --- :backends: - yaml :hierarchy: - "nodes/%{::trusted.certname}" - common :yaml: # datadir is empty here, so hiera uses its defaults: # - /etc/puppetlabs/code/environments/%{environment}/hieradata on *nix # - %CommonAppData%\PuppetLabs\code\environments\%{environment}\hieradata on Windows # When specifying a datadir, make sure the directory exists. :datadir: and a larger one: # cat /etc/puppetlabs/code/environments/production/hiera.yaml --- version: 5 defaults: data_hash: yaml_data # Use the built-in YAML backend. datadir: "/etc/puppetlabs/code/environments/%{environment}/hieradata" hierarchy: - name: "Eyaml Data" lookup_key: eyaml_lookup_key options: pkcs7_private_key: /etc/puppetlabs/puppet/keys/private_key.pkcs7.pem pkcs7_public_key: /etc/puppetlabs/puppet/keys/public_key.pkcs7.pem paths: - "nodes/%{::trusted.certname}.yaml" - "nodes/%{::pod_role}.yaml" ... many more paths omitted for brevity .... I believe I have to most up-to-date software installed: # puppet -V 4.10.4 # hiera --version 3.3.2

fully-qualified variable fail with error '...is not a hash or array when accessing it with class_name'

$
0
0
Hello, I have the following modules and hiera and failed with error '...is not a hash or array when accessing it with class_name' when using fully-qualified variable $foo::config::writer. If I use just $writer, it will be fine. I think this is a scoping issue but I am not sure where is it, any thoughts? **Error: Could not retrieve catalog from remote server: Error 400 on SERVER: foo::config::writer is not a hash or array when accessing it with class_name at /etc/puppet/environments/production/modules/foo/manifests/config.pp:10 on node example.com Warning: Not using cache on failed catalog Error: Could not retrieve catalog; skipping run** init.pp ---- class foo { include foo::params case $foo::params::application { 'bar': { foo::config { 'bar': query_array => [ $foo::metrics::default_metrics, $foo::metrics::bar_metrics], } } default: { foo::config { 'default': query_array => $foo::metrics::default_metrics, writer => $foo::params::writer, interval => '60', } } } } config.pp --- define foo::config ( $writer = hiera_hash('foo::writer'), $interval = hiera('foo::interval', '120'), ) { include foo validate_hash($writer) $output = { class => $foo::config::writer['class'], attributes => $foo::config::writer['attributes'], } } node.yaml --- foo::queries: '' foo::writer: class: 'class2' attributes: fileName: '/tmp/zoo' showTimeStamp: 'false' foo::interval: '60'

issue with Hiera 5 used for node classification

$
0
0
I had this working using an older version hiera and puppet 3 where i added `hiera_include('classes')` to the site.pp to match all nodes. I successfully configure hiera 5 on a new build and I replaced that with the new lookup function `lookup('classes', Array[String], 'unique').include` yet now it fails to apply the classes specified in the hierachy e.g. common.yaml --- classes: - roles::default I have confirmed using `puppet lookup classes --node node1.example.com` that the lookup is working it returns: --- - roles::default I understand that their are many variables at play here what i am looking for is any glaring deficiencies i.e. what am i missing? anyone else have this working correctly?

can i change default_gateway.rb file without effecting anything in the file with same name but in different directory

$
0
0
there are two hirerchachy as shown /etc/puppet/environments/acceptance/modules/mobistar/lib/facter/default_gateway.rb /etc/puppet/environments/production/modules/mobistar/lib/facter/default_gateway.rb I want to change something in (acceptance/modules/mobistar/lib/facter/default_gateway.rb) ...could you please assure it wil not effect anythng in production environment though both are in same server

Getting "Archive[/tmp/${filename}] doesn't seem to be in the catalog" while executing my puppet program

$
0
0
Hi Team, My Puppet class looks like this: FYI... class aoa_agent_installation::splunk_install { $sourcefile = $osfamily ? { 'Solaris' => 'puppet:///modules/aoa_agent_installation/splunkforwarder-6.5.2-67571ef4b87d-SunOS-sparc.tar.Z', 'RedHat' => 'puppet:///modules/aoa_agent_installation/splunkforwarder-6.5.2-67571ef4b87d-Linux-x86_64.tgz', 'AIX' => 'puppet:///modules/aoa_agent_installation/splunkforwarder-6.5.2-67571ef4b87d-AIX-powerpc.tgz', } $dirname = 'splunkforwarder' $filename = "${dirname}.tar.gz" $install_path = "/opt/${dirname}" file { $install_path: ensure => directory, owner => 'findev', group => 'finacle', mode => '0777', } archive { $filename: path => "/tmp/${filename}", source => $sourcefile, extract => true, extract_path => '/opt', creates => "${install_path}", cleanup => true, user => 'findev', group => 'finacle', require => File[$install_path], } exec {'start_splunk_service': path => '/usr/bin:/bin:/usr/sbin:/sbin', user => 'findev', command => '/opt/splunkforwarder/bin/splunk start --accept-license && echo "1" > /tmp/splunk_status.txt', onlyif => [ "test -f /opt/splunkforwarder/bin/splunk", "test `ps -ef | grep -v grep | grep splunk | wc -l` -eq 0", ], environment => ["HOME=/app/finacle"], require => Archive[$filename], } file { '/opt/splunkforwarder/etc/system/local/deploymentclient.conf': ensure => present, owner => 'findev', group => 'finacle', mode => "0777", source => 'puppet:///modules/aoa_agent_installation/deploymentclient.conf', require => Archive[$filename], } exec {'restart_start_splunk_service': path => '/usr/bin:/bin:/usr/sbin:/sbin', user => 'findev', command => '/opt/splunkforwarder/bin/splunk restart && echo "0" > /tmp/splunk_status.txt', onlyif => [ "test -f /opt/splunkforwarder/bin/splunk", "test `cat /tmp/splunk_status.txt | tr -s ' '` -eq 1", ], environment => ["HOME=/app/finacle"], require => File['/opt/splunkforwarder/etc/system/local/deploymentclient.conf'], } } Error: Could not retrieve catalog from remote server: Error 500 on SERVER: Server Error: Invalid relationship: Exec[start_splunk_service] { require => Archive[/tmp/${filename}] }, because Archive[/tmp/${filename}] doesn't seem to be in the catalog

Agent using puppet.conf defined environment over ENC provided one when the agent specified environment doesn't exist?

$
0
0
We use a custom ENC to integrate with GLPI and provide our agents with environment, roles, and any parameter overrides. The class we have managing the agent's Puppet configuration writes this environment to ```puppet.conf``` so that in the situation where the ENC isn't able to return a value (say GLPI was unavailable) then it'll still be able to operate with just the Puppet Master. We've just removed an old environment within our deployment and updated the assigned nodes on GLPI to point to another. During the next check-in the agents returned that they couldn't find the environment and failing. The ENC is returning the correct, updated environment name. I thought that the ENC's values always trumped any agent config, and this has worked before when we've moved systems between environments which exist. I assume that this is a problem because the environment has been removed. Is there any way to resolve this without having to complete manual agent runs on each of the systems? We're using a non-PE setup so using MCO isn't an option, but it seems a little strange that this issue can happen when the ENC is supposed to trump all local config.

Java not getting installed on puppet client from catalogue

$
0
0
I did write the following code in puppetmaster - /etc/puppet/manifests/site.pp file: class { 'java' : package => 'java-1.8.0-openjdk-devel', } tomcat::install { '/opt/tomcat' : source_url => 'http://archive.apache.org/dist/tomcat/tomcat-9/v9.0.0.M1/bin/apache-tomcat-9.0.0.M1.tar.gz', } tomcat::instance { 'default' : catalina_home => 'opt/tomcat', } ---------------------------------------------------------------------------------------------------------------------------------------------------- On puppet agent, when I run the command "puppet agent -t", getting the following error. Also validated site.pp using puppet parser validate site.pp command and no errors. Error: Could not retrieve catalog from remote server: Error 400 on SERVER: Syntax error at 'String'; expected ')' at /etc/puppet/modules/java/manifests/init.pp:49 on node puppetclient.demo.com Warning: Not using cache on failed catalog Error: Could not retrieve catalog; skipping run Any help on resolving this issue is appreciated! Thanks

export node classification groups from Puppet Enterprise

$
0
0
Hello, Is there a way to export and import node classification groups from the PE Console? I would like to export from one server and import into another. I want to export all groups, not just a single one. -Brandon

How good SEO content can have pleasant, unexpected financial results

$
0
0
fast seo,fastseo.org David Mercer

Execute a command onlyif service is not running.

$
0
0
Hi Team, exec {'start_service': command => '/opt/agent/bin/service start --accept-license', onlyif => ".....", } The command should get execute only if the service "splunk" is not running. I would like to put `ps -ef | grep -i "splunk"` Please help here..! Regards, Rohith
Viewing all 6104 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>