Skip to content

Commit

Permalink
Merge pull request #1583 from ghoneycutt/tickets/master/20100_Modulef…
Browse files Browse the repository at this point in the history
…ile_starts_at_0_1_0

Modulefile starts with version 0.1.0
  • Loading branch information
adrienthebo committed Apr 8, 2013
2 parents 131155b + 674e7d2 commit a2af223
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions lib/puppet/module_tool/modulefile.rb
Expand Up @@ -30,13 +30,13 @@ def name(name)
@metadata.full_module_name = name
end

# Set the module +version+ (e.g., "0.0.1"). Required.
# Set the module +version+ (e.g., "0.1.0"). Required.
def version(version)
@metadata.version = version
end

# Add a dependency with the full_module_name +name+ (e.g. "myuser-mymodule"), an
# optional +version_requirement+ (e.g. "0.0.1") and +repository+ (a URL
# optional +version_requirement+ (e.g. "0.1.0") and +repository+ (a URL
# string). Optional. Can be called multiple times to add many dependencies.
def dependency(name, version_requirement = nil, repository = nil)
@metadata.dependencies << Dependency.new(name, version_requirement, repository)
Expand Down
@@ -1,5 +1,5 @@
name '<%= metadata.full_module_name %>'
version '0.0.1'
version '0.1.0'
source '<%= metadata.source %>'
author '<%= metadata.author %>'
license '<%= metadata.license %>'
Expand Down

0 comments on commit a2af223

Please sign in to comment.