{"issue":{"created_at":"2011-11-17T17:22:40Z","state":"open","updated_at":"2011-11-21T14:43:13Z","user":{"gravatar_id":"1c5d6e11929620b0f6e53ae41f2f0dc5","id":103544,"url":"https://api.github.com/users/buggtb","login":"buggtb","avatar_url":"https://secure.gravatar.com/avatar/1c5d6e11929620b0f6e53ae41f2f0dc5?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png"},"comments":1,"body":"i've run the vhost-ssl module like so:\r\n\r\n   apache::vhost-ssl { \"test.mydomain.com\":\r\n     ensure => present,\r\n     ip_address => \"176.x.x.x\",\r\n     publish_csr => \"/home/webmaster/foo.example.com.csr\",\r\n     days=>\"30\",\r\n   }\r\n\r\nand also tried removing publish_csr\r\neither way the File call at the bottom doesn't work.\r\n\r\n file { \"public CSR file for $name\":\r\n      ensure  => $publish_csr ? {\r\n        false   => \"absent\",\r\n        default => \"present\",\r\n      },\r\n      path    => $publish_csr ? {\r\n        true    => \"${apache::params::root}/${name}/htdocs/${name}.csr\",\r\n        false   => \"${apache::params::root}/${name}/htdocs/${name}.csr\",\r\n        default => $publish_csr,\r\n      },\r\n      source  => \"file://$csrfile\",\r\n      mode    => 640,\r\n      seltype => \"httpd_sys_content_t\",\r\n      require => Exec[\"generate-ssl-cert-$name\"],\r\n    }\r\n\r\nbecause the path doesn't exist.","assignee":null,"id":2271287,"number":14,"labels":[],"pull_request":{"patch_url":null,"html_url":null,"diff_url":null},"title":"File call in SSL definition seems to be invalid","closed_at":null,"html_url":"https://github.com/camptocamp/puppet-apache/issues/14","url":"https://api.github.com/repos/camptocamp/puppet-apache/issues/14","milestone":null},"action":"created","comment":{"created_at":"2011-11-21T14:43:13Z","updated_at":"2011-11-21T14:43:13Z","user":{"gravatar_id":"2d2f7a7f27009d80cb876111b3ddbbb6","id":37533,"url":"https://api.github.com/users/mfournier","login":"mfournier","avatar_url":"https://secure.gravatar.com/avatar/2d2f7a7f27009d80cb876111b3ddbbb6?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png"},"body":"Weird. This obviously works here...\r\n\r\nYou can investigate what is wrong by running \"puppetd -t --debug\" and grepping the output to find exactly which command is run when Exec[\"generate-ssl-cert-$name\"] gets called. Then try to find out if or where the .csr file is created.","id":2815862,"url":"https://api.github.com/repos/camptocamp/puppet-apache/issues/comments/2815862"}}