The error itself is quite clear - you've got an empty string for the parameter 'revision' when you should have something that's not whitespace (according to that regex).
To actually figure out why you're getting an empty string, you're going to need to post the relevant portions of app.pp (or it's entirety). -- Luke Bigum ----- Original Message ----- From: "Sans" <r.santanu....@gmail.com> To: "puppet-users" <puppet-users@googlegroups.com> Sent: Monday, 14 March, 2016 21:40:34 Subject: [Puppet Users] directory environemnt doesn't seem to be working for vcsrepo Hi there , I'm seeing a very strange error, which I cannot figure out where it's coming from: *Error: Failed to apply catalog: Parameter revision failed on Vcsrepo[/var/www/wp007/wp-content]: Invalid value "". Valid values match /^\S+$/. at /usr/local/p19/puppet/modules/wordpress/manifests/app.pp:163* Line #163 is where I specified the vcsrepo to do the git pull from staging branch. I cannot get any other info using -td or --trace. Any one has seen this error before or know what's going on? Just to give you a but of background, the PuppetMaster is running with two environments: development and staging, with directory environment enabled. This error is coming from the staging instances. Is it possible it's not getting the environment specific values to compile the catalog? Hoe do I do further debugging? Got really stuck in the middle, so nay help will be appreciated. -San -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to puppet-users+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/puppet-users/13af960b-eaa6-4944-9800-b36a4ebb0e4b%40googlegroups.com. For more options, visit https://groups.google.com/d/optout. --- LMAX Exchange, Yellow Building, 1A Nicholas Road, London W11 4AN http://www.LMAX.com/ Recognised by the most prestigious business and technology awards 2016 Best Trading & Execution, HFM US Technology Awards 2016, 2015, 2014, 2013 Best FX Trading Venue - ECN/MTF, WSL Institutional Trading Awards 2015 Winner, Deloitte UK Technology Fast 50 2015, 2014, 2013, One of the UK's fastest growing technology firms, The Sunday Times Tech Track 100 2015 Winner, Deloitte EMEA Technology Fast 500 2015, 2014, 2013 Best Margin Sector Platform, Profit & Loss Readers' Choice Awards --- FX and CFDs are leveraged products that can result in losses exceeding your deposit. They are not suitable for everyone so please ensure you fully understand the risks involved. This message and its attachments are confidential, may not be disclosed or used by any person other than the addressee and are intended only for the named recipient(s). This message is not intended for any recipient(s) who based on their nationality, place of business, domicile or for any other reason, is/are subject to local laws or regulations which prohibit the provision of such products and services. This message is subject to the following terms (http://lmax.com/pdf/general-disclaimers.pdf), if you cannot access these, please notify us by replying to this email and we will send you the terms. If you are not the intended recipient, please notify the sender immediately and delete any copies of this message. LMAX Exchange is the trading name of LMAX Limited. LMAX Limited operates a multilateral trading facility. LMAX Limited is authorised and regulated by the Financial Conduct Authority (firm registration number 509778) and is a company registered in England and Wales (number 6505809). LMAX Hong Kong Limited is a wholly-owned subsidiary of LMAX Limited. LMAX Hong Kong is licensed by the Securities and Futures Commission in Hong Kong to conduct Type 3 (leveraged foreign exchange trading) regulated activity with CE Number BDV088. -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to puppet-users+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/puppet-users/1424013521.5311651.1458031228363.JavaMail.zimbra%40lmax.com. For more options, visit https://groups.google.com/d/optout.