We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 1fd1f51 + d9716c5 commit a766296Copy full SHA for a766296
lib/puppet/provider/vcsrepo/git.rb
@@ -505,7 +505,7 @@ def latest_revision
505
def get_revision(rev = 'HEAD')
506
unless @resource.value(:source)
507
status = at_path { git_with_identity('status') }
508
- is_it_new = status =~ %r{Initial commit}
+ is_it_new = status =~ %r{Initial commit|No commits yet}
509
if is_it_new
510
status =~ %r{On branch (.*)}
511
branch = Regexp.last_match(1)
metadata.json
@@ -60,7 +60,8 @@
60
"operatingsystem": "Ubuntu",
61
"operatingsystemrelease": [
62
"14.04",
63
- "16.04"
+ "16.04",
64
+ "18.04"
65
]
66
}
67
],
0 commit comments