Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
10
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Open sidebar
mirror
yum
Commits
06f7932e
Commit
06f7932e
authored
Jun 03, 2015
by
Stan Cheng
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ensuring that the yum clean updates comes before the make cache
parent
9c36fc44
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
providers/repository.rb
providers/repository.rb
+1
-1
No files found.
providers/repository.rb
View file @
06f7932e
...
...
@@ -46,8 +46,8 @@ action :create do
mode
new_resource
.
mode
variables
(
:config
=>
new_resource
)
if
new_resource
.
make_cache
notifies
:run
,
"execute[yum-makecache-
#{
new_resource
.
repositoryid
}
]"
,
:immediately
notifies
:run
,
"execute[yum clean
#{
new_resource
.
repositoryid
}
]"
,
:immediately
notifies
:run
,
"execute[yum-makecache-
#{
new_resource
.
repositoryid
}
]"
,
:immediately
notifies
:create
,
"ruby_block[yum-cache-reload-
#{
new_resource
.
repositoryid
}
]"
,
:immediately
end
end
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment