Re: [Puppet Users] exec not working in manifest with powershell commmand

2016-08-09 Thread Rob Nelson
Can you share the logs from your puppet run showing the error(s) received? Also, you may want to look at the module https://forge.puppet.com/puppet/iis, which may either handle this already, or be a good example of code you can build on if the feature is not present. Rob Nelson

[Puppet Users] exec not working in manifest with powershell commmand

2016-08-09 Thread David Yeo
All, I have a requirement for automating the setup of IIS through puppet enterprise, I have a manifest which is not fully executing a powershell command utilising 'exec' (see below) *exec { 'SetvirtualDirectoryDefaultsuserName': command => '$(Set-ItemProperty -Path