Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bug in the shipped version of Puppet; update box to latest Puppet #24

Open
naftulikay opened this issue Jul 29, 2015 · 0 comments
Open

Comments

@naftulikay
Copy link

In the latest version of the 14.04 Ubuntu box, Puppet 3 has some known bugs where it doesn't like file() syntax:

# file exists at modules/nginx/files/nginx.conf
file { 'nginx_config':
    # ...
    content => file('nginx/nginx.conf')
}

The above code fails, while the below code doesn't:

# template exists at modules/nginx/templates/nginx.conf
file { 'nginx_config':
    # ...
    content => template('nginx/nginx.conf')
}

Simply updating Puppet to the latest version fixes this bug. On all of my boxes based on the 14.04 box, I have to run a shell provisioner which updates to the latest Puppet before running the Puppet provisioner to avoid this problem.

@naftulikay naftulikay changed the title Rebuild 14.04 with latest Puppet Bug in the shipped version of Puppet; update box to latest Puppet Jul 29, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant